aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/emoji.py
diff options
context:
space:
mode:
authorGravatar SomeHybrid <[email protected]>2023-08-27 19:51:22 +0700
committerGravatar GitHub <[email protected]>2023-08-27 19:51:22 +0700
commitbda41cb204c3303a74ab199448d391120155286b (patch)
treeb8b5bb0ff6cd21303928b74d81b986281a74784d /bot/exts/utilities/emoji.py
parentChanged cooldown to 5s, removed description if abstract not found (diff)
parentholidayreact: add alternate spellings to February (#1214) (diff)
Merge branch 'python-discord:main' into main
Diffstat (limited to 'bot/exts/utilities/emoji.py')
-rw-r--r--bot/exts/utilities/emoji.py2
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)