Fix discordgo api changes
This commit is contained in:
parent
5db24aa901
commit
04e0f001b0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue