Add support for ignoring messages from specific users.

This commit is contained in:
Wim 2016-05-21 16:03:19 +02:00
parent 33844fa60c
commit ff5aeeb1e1
2 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,7 @@ 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)
@ -56,6 +56,8 @@ 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)
@ -80,6 +82,8 @@ 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

View File

@ -6,6 +6,7 @@ SkipTLSVerify=true
nick="matterbot"
channel="#matterbridge"
UseSlackCircumfix=false
IgnoreNicks="ircspammer1 ircspammer2"
[mattermost]
url="http://yourdomain/hooks/yourhookkey"
@ -21,6 +22,7 @@ NickFormatter=plain
NicksPerRow=4
#NickServNick="nickserv"
#NickServPassword="secret"
IgnoreNicks="mmbot spammer2"
[general]
GiphyAPIKey=dc6zaTOxFJmzC