diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/config/config.go | 1 | ||||
-rw-r--r-- | bridge/discord/discord.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 7d4b0cd1..3972e84e 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -16,7 +16,6 @@ type Message struct { type Protocol struct { BindAddress string // mattermost, slack - Guild string // discord IconURL string // mattermost, slack IgnoreNicks string // all protocols Jid string // xmpp diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 3547edae..613bbb8e 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -59,7 +59,7 @@ func (b *bdiscord) Connect() error { } b.Nick = userinfo.Username for _, guild := range guilds { - if guild.Name == b.Config.Guild { + if guild.Name == b.Config.Server { b.Channels, err = b.c.GuildChannels(guild.ID) if err != nil { flog.Debugf("%#v", err) |