aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shom770 <[email protected]>2021-11-07 11:19:05 -0500
committerGravatar GitHub <[email protected]>2021-11-07 11:19:05 -0500
commit1503845b4c5349e1a49c9c9ecdc37425b659e73b (patch)
treede1668eaf5492ccc7ca403651325d8f272138bb6
parentChange language to language.lower() (diff)
Fix line after function docstring
-rw-r--r--bot/exts/utilities/challenges.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/utilities/challenges.py b/bot/exts/utilities/challenges.py
index 751ea2a3..ab7ae442 100644
--- a/bot/exts/utilities/challenges.py
+++ b/bot/exts/utilities/challenges.py
@@ -275,7 +275,6 @@ class Challenges(commands.Cog):
`.challenge <language> <query>, <difficulty>` - Pulls a random challenge with the query provided,
under that difficulty within the language's scope.
"""
-
language = language.lower()
if language not in SUPPORTED_LANGUAGES["stable"] + SUPPORTED_LANGUAGES["beta"]:
raise commands.BadArgument("This is not a recognized language on codewars.com!")