mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
fixed
This commit is contained in:
parent
af5d6629f1
commit
8793a518e1
@ -87,7 +87,7 @@ class BotCommands():
|
||||
return realcom
|
||||
|
||||
if "aliasfor" in self.dict['commands'][trigger_command_type][command].keys():
|
||||
realcom = self.dict['commands'][trigger_command_type][command]
|
||||
realcom = self.dict['commands'][trigger_command_type][command]["aliasfor"]
|
||||
|
||||
return realcom
|
||||
|
||||
|
||||
@ -48,7 +48,6 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
||||
argsdict_default["log_id"] = botmessagelog.messagelog_assign()
|
||||
|
||||
argsdict_default["realcom"] = botcommands.get_realcom(argsdict_default["com"], trigger_command_type)
|
||||
argsdict_default["realcom"] = str(argsdict_default["realcom"])
|
||||
|
||||
if argsdict_default["type"] == 'nickname':
|
||||
argsdict_default["comtext"] = "'" + bot.nick + " " + argsdict_default["com"] + "'"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user