new scanner %chan

This commit is contained in:
klemek
2021-01-14 18:44:10 +01:00
parent ec027507ad
commit b42e432bcd
7 changed files with 141 additions and 18 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ class MentionsScanner(Scanner):
names.sort(key=lambda name: self.mentions[name].score(), reverse=True)
names = names[: self.top]
# Get the total of all emotes used
usage_count = sum([mention.usages for mention in self.mentions.values()])
usage_count = Counter.total(self.mentions)
res = [intro]
res += [
self.mentions[name].to_string(