Update presence_scanner.py

This commit is contained in:
Klemek
2021-11-05 13:05:17 +01:00
committed by GitHub
parent 130cc5370c
commit b39bc5c16b
+2 -2
View File
@@ -69,8 +69,8 @@ class PresenceScanner(Scanner):
for mention in message.mentions: for mention in message.mentions:
pres.mention_others[mention] += 1 pres.mention_others[mention] += 1
pres.messages[message.author] += 1 pres.messages[message.author] += 1
pres.channel_total[channel.id] += 1 pres.channel_total[channel.id] += 1
pres.mention_count[message.author] += len(message.mentions) pres.mention_count[message.author] += len(message.mentions)
if len(raw_members) > 0: if len(raw_members) > 0:
for mention in message.mentions: for mention in message.mentions:
if mention in raw_members: if mention in raw_members: