Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit ab8a3c99c72ca7ee17044e2e6c34e0bb775f37c7 Author: Wim <wim@42.be> Date: Sat May 21 16:03:19 2016 +0000 Add support for ignoring messages from specific users. diff --git a/README.md b/README.md index 67e479a..9074b8c 100644 --- a/README.md +++ b/README.md @@ -87 +87 @@ Requires mattermost 1.2.0+  There is also [matterbridge-plus] (https://github.com/42wim/matterbridge-plus) which uses the mattermost API and needs a dedicated user (bot). But requires no incoming/outgoing webhook setup.    ## binaries -Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4) +Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4.1)    ## building  Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH) @@ -566 +568 @@ SkipTLSVerify=true  nick="matterbot"  channel="#matterbridge"  UseSlackCircumfix=false +#Ignore the messages from these nicks. They will not be sent to mattermost +IgnoreNicks="ircspammer1 ircspammer2"    [mattermost]  #url is your incoming webhook url (account settings - integrations - incoming webhooks) @@ -806 +828 @@ NicksPerRow=4  NickServNick="nickserv"  #Password for nickserv  NickServPassword="secret" +#Ignore the messages from these nicks. They will not be sent to irc +IgnoreNicks="mmbot spammer2"    #multiple channel config  #token you can find in your outgoing webhook diff --git a/matterbridge.conf.sample b/matterbridge.conf.sample index c1397d1..bc989fd 100644 --- a/matterbridge.conf.sample +++ b/matterbridge.conf.sample @@ -66 +67 @@ SkipTLSVerify=true  nick="matterbot"  channel="#matterbridge"  UseSlackCircumfix=false +IgnoreNicks="ircspammer1 ircspammer2"    [mattermost]  url="http://yourdomain/hooks/yourhookkey" @@ -216 +227 @@ NickFormatter=plain  NicksPerRow=4  #NickServNick="nickserv"  #NickServPassword="secret" +IgnoreNicks="mmbot spammer2"    [general]  GiphyAPIKey=dc6zaTOxFJmzC