make chart difficulty case insensitive
This commit is contained in:
parent
38c79c8faa
commit
ac9f77e888
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user