aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/challenges.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-08-23 10:31:24 +0100
committerGravatar wookie184 <[email protected]>2023-08-23 10:31:24 +0100
commit6ebc2806b1b2737c27c090da324d85577ea67fb6 (patch)
tree1fb65b1dd1c8185bab4874dfc8fe5e272f20de3d /bot/exts/utilities/challenges.py
parentHandle snakes without images (diff)
parentCorrected attribute name to fetch github url in extensions.py (#1348) (diff)
Merge branch 'main' into snakes-cleanup
Diffstat (limited to 'bot/exts/utilities/challenges.py')
-rw-r--r--bot/exts/utilities/challenges.py2
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.