generalized the cancellation totaling into emoji totaling functions
This commit is contained in:
@@ -46,7 +46,7 @@ class RoboPage(discord.Client):
|
||||
|
||||
if message.author != self.user:
|
||||
if 'most cancelled' in message.content:
|
||||
await message.reply(self.data.cancellation_leaderboard(14))
|
||||
await message.reply(self.data.cancellation_leaderboard(days=14))
|
||||
|
||||
elif (m := re.search('top cancelled (?P<name>\w+)', message.content)) is not None:
|
||||
async with self.data.lock:
|
||||
|
||||
Reference in New Issue
Block a user