more info when available

This commit is contained in:
Klemek
2021-04-22 14:50:48 +02:00
parent 1871ff1d13
commit 4ce3d6023e
8 changed files with 52 additions and 29 deletions
+3 -1
View File
@@ -61,6 +61,8 @@ class MentionedScanner(Scanner):
names.index(name),
name,
total_usage=usage_count,
transform=lambda id: f" for {mention(id)}",
top=len(self.members) != 1,
)
for name in names
]
@@ -85,6 +87,6 @@ class MentionedScanner(Scanner):
mention(member_id)
) + message.content.count(alt_mention(member_id))
mentions[mention(message.author)].update_use(
count, message.created_at
count, message.created_at, member_id
)
return impacted