mirror of https://gitlab.com/litecord/litecord.git
ignore when flags.presence isn't given
This commit is contained in:
parent
f99ad7a207
commit
80a54e8b8d
|
|
@ -61,7 +61,11 @@ class GuildDispatcher(DispatcherWithFlags):
|
|||
chanflags = dict(flags)
|
||||
|
||||
# channels don't need presence flags
|
||||
try:
|
||||
chanflags.pop('presence')
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
args.append(chanflags)
|
||||
|
||||
await self.main_dispatcher.action(
|
||||
|
|
|
|||
Loading…
Reference in New Issue