small cleanup

This commit is contained in:
klemek
2021-01-14 18:14:56 +01:00
parent 7bb7700157
commit ec027507ad
3 changed files with 1 additions and 5 deletions
-3
View File
@@ -34,9 +34,6 @@ class EmotesScanner(Scanner):
help=EmotesScanner.help(),
intro_context="Emoji usage",
)
self.top = 20
self.all_emojis = False
self.show_members = False
async def init(self, message: discord.Message, *args: str) -> bool:
guild = message.channel.guild
+1 -1
View File
@@ -28,11 +28,11 @@ class MentionedScanner(Scanner):
def __init__(self):
super().__init__(
has_digit_args=True,
valid_args=["all"],
help=MentionedScanner.help(),
intro_context="Mentioned by members",
)
self.top = 10
async def init(self, message: discord.Message, *args: str) -> bool:
# get max emotes to view
-1
View File
@@ -40,7 +40,6 @@ class MentionsScanner(Scanner):
help=MentionsScanner.help(),
intro_context="Mention usage",
)
self.top = 10
async def init(self, message: discord.Message, *args: str) -> bool:
# get max emotes to view