mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
higher chance of equality comparison with existing commands
This commit is contained in:
parent
f03b44d57a
commit
4ad66d82d0
@ -117,7 +117,7 @@ class Alias:
|
||||
def part_of_existing_command(self, alias, server):
|
||||
'''Command or alias'''
|
||||
for command in self.bot.commands:
|
||||
if alias.lower() == command:
|
||||
if alias.lower() == command.lower():
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user