mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
ec240c8efb
commit
2c795a1c41
@ -505,8 +505,12 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom):
|
|||||||
if not botcom.dict["hyphen_arg"]:
|
if not botcom.dict["hyphen_arg"]:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
# include nonstock options here as well
|
||||||
|
elif str(botcom.dict["hyphen_arg"]).lower() in [command.lower() for command in botcom.dict["dict"]["nonstockoptions"]]:
|
||||||
|
return True
|
||||||
|
|
||||||
# handle numbered args
|
# handle numbered args
|
||||||
if str(botcom.dict["hyphen_arg"]).isdigit() or botcom.dict["hyphen_arg"] in [-1, 'random']:
|
elif str(botcom.dict["hyphen_arg"]).isdigit() or botcom.dict["hyphen_arg"] in [-1, 'random']:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
elif botcom.dict["hyphen_arg"] in ['check']:
|
elif botcom.dict["hyphen_arg"] in ['check']:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user