Fix discordgo api changes

This commit is contained in:
Wim 2017-07-16 14:39:00 +02:00
parent 5db24aa901
commit 04e0f001b0
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (b *bdiscord) Connect() error {
flog.Debugf("%#v", err) flog.Debugf("%#v", err)
return err return err
} }
guilds, err := b.c.UserGuilds() guilds, err := b.c.UserGuilds(100, "", "")
if err != nil { if err != nil {
flog.Debugf("%#v", err) flog.Debugf("%#v", err)
return err return err