mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
743b74ab30
commit
009d91e94a
@ -506,7 +506,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom):
|
|||||||
botcom.dict["specified"] = botcom.dict["hyphen_arg"]
|
botcom.dict["specified"] = botcom.dict["hyphen_arg"]
|
||||||
return True, botcom
|
return True, botcom
|
||||||
|
|
||||||
elif botcom.dict["hyphen_arg"] in ['check']:
|
elif botcom.dict["hyphen_arg"] in ['check', "test"]:
|
||||||
if botcom.dict["com"].lower() != botcom.dict["realcom"]:
|
if botcom.dict["com"].lower() != botcom.dict["realcom"]:
|
||||||
botmessagelog.messagelog(botcom.dict["log_id"], botcom.dict["comtext"] + " is a valid alias command for " + botcom.dict["realcomtext"])
|
botmessagelog.messagelog(botcom.dict["log_id"], botcom.dict["comtext"] + " is a valid alias command for " + botcom.dict["realcomtext"])
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -24,7 +24,8 @@ class Botprerun_shared():
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
self.valid_hyphen_args = [
|
self.valid_hyphen_args = [
|
||||||
'check', 'view',
|
'check', 'test',
|
||||||
|
'view',
|
||||||
'count',
|
'count',
|
||||||
'special', 'options', 'list',
|
'special', 'options', 'list',
|
||||||
'add', 'del', 'remove',
|
'add', 'del', 'remove',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user