From ac9f77e8885ad5c7590ccc05e02db98bffbe1e2d Mon Sep 17 00:00:00 2001 From: qwewqa <198e559dbd446d973355f415bdfa34@gmail.com> Date: Sat, 23 Jan 2021 11:51:41 -0500 Subject: [PATCH] make chart difficulty case insensitive --- miyu_bot/commands/cogs/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miyu_bot/commands/cogs/music.py b/miyu_bot/commands/cogs/music.py index 2de761b..18236b4 100644 --- a/miyu_bot/commands/cogs/music.py +++ b/miyu_bot/commands/cogs/music.py @@ -336,7 +336,7 @@ class Music(commands.Cog): difficulty = ChartDifficulty.Expert if len(split_args) >= 2: - final_word = split_args[-1] + final_word = split_args[-1].lower() if final_word in self.difficulty_names: difficulty = self.difficulty_names[final_word] arg = ''.join(split_args[:-1])