diff options
author | 2023-08-23 10:31:24 +0100 | |
---|---|---|
committer | 2023-08-23 10:31:24 +0100 | |
commit | 6ebc2806b1b2737c27c090da324d85577ea67fb6 (patch) | |
tree | 1fb65b1dd1c8185bab4874dfc8fe5e272f20de3d /bot/exts/utilities/emoji.py | |
parent | Handle snakes without images (diff) | |
parent | Corrected attribute name to fetch github url in extensions.py (#1348) (diff) |
Merge branch 'main' into snakes-cleanup
Diffstat (limited to 'bot/exts/utilities/emoji.py')
-rw-r--r-- | bot/exts/utilities/emoji.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/emoji.py b/bot/exts/utilities/emoji.py index ce352fe2..bbaf6d25 100644 --- a/bot/exts/utilities/emoji.py +++ b/bot/exts/utilities/emoji.py @@ -78,7 +78,7 @@ class Emojis(commands.Cog): await self.bot.invoke_help_command(ctx) @emoji_group.command(name="count", aliases=("c",)) - async def count_command(self, ctx: commands.Context, *, category_query: str = None) -> None: + async def count_command(self, ctx: commands.Context, *, category_query: str | None = None) -> None: """Returns embed with emoji category and info given by the user.""" emoji_dict = defaultdict(list) |