From 4ad66d82d0307609a9ee2cef463ecfd38b0513c7 Mon Sep 17 00:00:00 2001 From: Will Tekulve Date: Thu, 14 Apr 2016 01:19:40 -0400 Subject: [PATCH] higher chance of equality comparison with existing commands --- cogs/alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/alias.py b/cogs/alias.py index 5b8f6210d..cd00f9126 100644 --- a/cogs/alias.py +++ b/cogs/alias.py @@ -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