mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
ad2eddcc97
commit
84f6026c0b
@ -513,7 +513,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom):
|
|||||||
bot.osd("The " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " command has " + str(len(botcom.dict["dict"][botcom.dict["responsekey"]]["responses"])) + " entries.")
|
bot.osd("The " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " command has " + str(len(botcom.dict["dict"][botcom.dict["responsekey"]]["responses"])) + " entries.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
elif botcom.dict["hyphen_arg"] in ['special']:
|
elif botcom.dict["hyphen_arg"] in ['special', 'options']:
|
||||||
bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + spicemanip(botcom.dict["dict"]["nonstockoptions"], "andlist") + ".")
|
bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + spicemanip(botcom.dict["dict"]["nonstockoptions"], "andlist") + ".")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ class Botprerun_shared():
|
|||||||
|
|
||||||
self.valid_hyphen_args = [
|
self.valid_hyphen_args = [
|
||||||
'check', 'view',
|
'check', 'view',
|
||||||
'count', 'special',
|
'count', 'special', 'options',
|
||||||
'enable', 'disable',
|
'enable', 'disable',
|
||||||
'block', 'unblock',
|
'block', 'unblock',
|
||||||
"activate", "deactivate",
|
"activate", "deactivate",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user