mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-26 18:01:36 +00:00
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
Block a user