small fixes

This commit is contained in:
klemek
2021-01-11 19:34:22 +01:00
parent d48031e4b5
commit daad1a1563
6 changed files with 28 additions and 24 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class PresenceScanner(Scanner):
) -> bool:
impacted = False
# If author is included in the selection (empty list is all)
if not message.bot and (len(raw_members) == 0 or message.author in raw_members):
if not message.bot and len(raw_members) == 0 or message.author in raw_members:
impacted = True
pres.channel_usage[channel.id] += 1
for mention in message.mentions: