From b30e85836e575974bac1b2ea91e9b6c2dd39fe44 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 5 Sep 2016 16:34:37 +0200 Subject: Add Slack support --- bridge/config/config.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'bridge/config') 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 -- cgit v1.2.3