This commit is contained in:
deathbybandaid 2019-05-23 21:36:09 -04:00
parent cd737c2a6f
commit 9a63f175e1

View File

@ -55,6 +55,7 @@ class BotCommands():
if com not in commands_list.keys(): if com not in commands_list.keys():
commands_list[com] = self.dict['commands'][commandstype][com] commands_list[com] = self.dict['commands'][commandstype][com]
realcom = command realcom = command
if command in commands_list.keys():
if "aliasfor" in commands_list[command['com']].keys(): if "aliasfor" in commands_list[command['com']].keys():
realcom = commands_list[command['com']]["aliasfor"] realcom = commands_list[command['com']]["aliasfor"]
return realcom return realcom