diff options
| author | 2020-10-02 18:34:41 +0530 | |
|---|---|---|
| committer | 2020-10-02 18:34:41 +0530 | |
| commit | d4b4885751a0830f684ac8cd95636abe2439b432 (patch) | |
| tree | 42cac075a1b47c54a03bab1403ef7f410e75f45f /bot | |
| parent | removed print statement,changed logging msg and changed emoji list (diff) | |
added annotation
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/exts/evergreen/emoji_count.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/emoji_count.py b/bot/exts/evergreen/emoji_count.py index ecdb12fa..c303cb7e 100644 --- a/bot/exts/evergreen/emoji_count.py +++ b/bot/exts/evergreen/emoji_count.py @@ -51,7 +51,7 @@ class EmojiCount(commands.Cog): log.trace("Error embed built") return embed - def emoji_list(self, ctx, categories) -> Dict: + def emoji_list(self, ctx: commands.Context, categories: dict) -> Dict: """Generates an embed with the emoji names and count.""" out = {category: [] for category in categories} @@ -64,7 +64,7 @@ class EmojiCount(commands.Cog): @commands.command(name="emoji_count", aliases=["ec"]) async def ec(self, ctx: commands.Context, *, emoji: str = None) -> Optional[str]: - """Returns embed with emoji category and info given by user.""" + """Returns embed with emoji category and info given by the user.""" emoji_dict = {} for a in ctx.guild.emojis: if emoji is None: |