summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-09-05 16:34:37 +0200
committerWim <wim@42.be>2016-09-05 16:34:37 +0200
commitb30e85836e575974bac1b2ea91e9b6c2dd39fe44 (patch)
treeb3aa5d148e436cacd6c737ad56ba3fc0b9369e26 /bridge/config
parente449a97bd0114e55c2a73aa79b061b55d755aa16 (diff)
downloadmatterbridge-msglm-b30e85836e575974bac1b2ea91e9b6c2dd39fe44.tar.gz
matterbridge-msglm-b30e85836e575974bac1b2ea91e9b6c2dd39fe44.tar.bz2
matterbridge-msglm-b30e85836e575974bac1b2ea91e9b6c2dd39fe44.zip
Add Slack support
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go15
1 files changed, 14 insertions, 1 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index cd353fcb..48574e28 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -35,7 +35,6 @@ type Config struct {
RemoteNickFormat string
Token string
}
-
Mattermost struct {
URL string
ShowJoinPart bool
@@ -55,6 +54,19 @@ type Config struct {
NoTLS bool
Enable bool
}
+ Slack struct {
+ BindAddress string
+ Enable bool
+ IconURL string
+ IgnoreNicks string
+ NickFormatter string
+ NicksPerRow int
+ PrefixMessagesWithNick bool
+ RemoteNickFormat string
+ Token string
+ URL string
+ UseAPI bool
+ }
Xmpp struct {
IgnoreNicks string
Jid string
@@ -70,6 +82,7 @@ type Config struct {
Mattermost string
Xmpp string
Gitter string
+ Slack string
}
General struct {
GiphyAPIKey string