diff options
author | 2023-08-27 19:51:22 +0700 | |
---|---|---|
committer | 2023-08-27 19:51:22 +0700 | |
commit | bda41cb204c3303a74ab199448d391120155286b (patch) | |
tree | b8b5bb0ff6cd21303928b74d81b986281a74784d /bot/exts/utilities/challenges.py | |
parent | Changed cooldown to 5s, removed description if abstract not found (diff) | |
parent | holidayreact: add alternate spellings to February (#1214) (diff) |
Merge branch 'python-discord:main' into main
Diffstat (limited to 'bot/exts/utilities/challenges.py')
-rw-r--r-- | bot/exts/utilities/challenges.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/challenges.py b/bot/exts/utilities/challenges.py index 2f9ac73e..6d1813bb 100644 --- a/bot/exts/utilities/challenges.py +++ b/bot/exts/utilities/challenges.py @@ -258,7 +258,7 @@ class Challenges(commands.Cog): @commands.command(aliases=["kata"]) @commands.cooldown(1, 5, commands.BucketType.user) - async def challenge(self, ctx: commands.Context, language: str = "python", *, query: str = None) -> None: + async def challenge(self, ctx: commands.Context, language: str = "python", *, query: str | None = None) -> None: """ The challenge command pulls a random kata (challenge) from codewars.com. |