Rename discord guild to server.

This commit is contained in:
Wim 2016-10-23 19:50:12 +02:00
parent d31e641bac
commit 1e84afbd90
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)