From 99e29ad39fa9a0e82f3f7313a3837b07ab2cc926 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 20 Jul 2019 12:55:39 -0300 Subject: [PATCH] pubsub.guild: default to always getting presence --- litecord/pubsub/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/pubsub/guild.py b/litecord/pubsub/guild.py index c03a5db..fdfdf2c 100644 --- a/litecord/pubsub/guild.py +++ b/litecord/pubsub/guild.py @@ -120,7 +120,7 @@ class GuildDispatcher(DispatcherWithState): # note that this does not equate to any unsubscription # of the channel. flags = self.flags[guild_id][user_id] - if event.startswith('PRESENCE_') and not flags.get('presence'): + if event.startswith('PRESENCE_') and not flags.get('presence', True): continue # filter the ones that matter