diff options
author | Wim <wim@42.be> | 2016-09-19 20:53:26 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-09-19 20:53:26 +0200 |
commit | a0b84beb9bae3514940a0cde40948e885184f555 (patch) | |
tree | 0e8d22c5e2292c24e46699e59f442795b6158b3a /bridge/config | |
parent | 0816e968318be5a4b165ac8fd30c032c6ecce61c (diff) | |
download | matterbridge-msglm-a0b84beb9bae3514940a0cde40948e885184f555.tar.gz matterbridge-msglm-a0b84beb9bae3514940a0cde40948e885184f555.tar.bz2 matterbridge-msglm-a0b84beb9bae3514940a0cde40948e885184f555.zip |
Add Discord support
Diffstat (limited to 'bridge/config')
-rw-r--r-- | bridge/config/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index ad8a523e..e3b7b52f 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -16,6 +16,7 @@ type Message struct { type Protocol struct { BindAddress string // mattermost, slack + Guild string // discord IconURL string // mattermost, slack IgnoreNicks string // all protocols Jid string // xmpp @@ -32,11 +33,11 @@ type Protocol struct { PrefixMessagesWithNick bool // mattemost, slack Protocol string //all protocols RemoteNickFormat string // all protocols - Server string // IRC,mattermost,XMPP + Server string // IRC,mattermost,XMPP,discord ShowJoinPart bool // all protocols SkipTLSVerify bool // IRC, mattermost Team string // mattermost - Token string // gitter, slack + Token string // gitter, slack, discord URL string // mattermost, slack UseAPI bool // mattermost, slack UseSASL bool // IRC @@ -61,6 +62,7 @@ type Config struct { Slack map[string]Protocol Gitter map[string]Protocol Xmpp map[string]Protocol + Discord map[string]Protocol Gateway []Gateway } |