new scanner : %react
This commit is contained in:
@@ -12,6 +12,7 @@ from scanners import (
|
||||
MentionedScanner,
|
||||
MessagesScanner,
|
||||
ChannelsScanner,
|
||||
ReactionsScanner,
|
||||
)
|
||||
from logs import GuildLogs
|
||||
|
||||
@@ -53,6 +54,12 @@ bot.register_command(
|
||||
"emojis: rank emojis by their usage",
|
||||
EmotesScanner.help(),
|
||||
)
|
||||
bot.register_command(
|
||||
"(react(ions?)?)",
|
||||
lambda *args: ReactionsScanner().compute(*args),
|
||||
"react: rank users by their reactions",
|
||||
ReactionsScanner.help(),
|
||||
)
|
||||
bot.register_command(
|
||||
"(channels?|chan)",
|
||||
lambda *args: ChannelsScanner().compute(*args),
|
||||
|
||||
Reference in New Issue
Block a user