mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
test
This commit is contained in:
parent
cd737c2a6f
commit
9a63f175e1
@ -55,8 +55,9 @@ 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 "aliasfor" in commands_list[command['com']].keys():
|
if command in commands_list.keys():
|
||||||
realcom = commands_list[command['com']]["aliasfor"]
|
if "aliasfor" in commands_list[command['com']].keys():
|
||||||
|
realcom = commands_list[command['com']]["aliasfor"]
|
||||||
return realcom
|
return realcom
|
||||||
|
|
||||||
def set_command_disabled(self, bot, command, channel, timestamp, reason, bywhom):
|
def set_command_disabled(self, bot, command, channel, timestamp, reason, bywhom):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user