mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
["dict"]
This commit is contained in:
parent
8aa369ef43
commit
a8fc8ba170
@ -38,7 +38,7 @@ class BotDictCommands():
|
||||
"comtype", "type", "validcoms",
|
||||
"author", "contributors",
|
||||
"description", "exampleresponse", "example",
|
||||
"privs"
|
||||
"privs", "nonstockoptions",
|
||||
]
|
||||
|
||||
self.dictcom_load()
|
||||
|
||||
@ -514,7 +514,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom):
|
||||
return False
|
||||
|
||||
elif botcom.dict["hyphen_arg"] in ['special']:
|
||||
bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + str(botcom.dict["nonstockoptions"]) + ".")
|
||||
bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + str(botcom.dict["dict"]["nonstockoptions"]) + ".")
|
||||
return False
|
||||
|
||||
elif botcom.dict["hyphen_arg"] in [
|
||||
|
||||
@ -47,7 +47,7 @@ class Botprerun_shared():
|
||||
self.stockoptions = [
|
||||
"?default", "validcoms", "contributors", "author", "type",
|
||||
"filepath", "filename", "hardcoded_channel_block", "description",
|
||||
"exampleresponse", "example", "usage", "privs"
|
||||
"exampleresponse", "example", "usage", "privs", "nonstockoptions",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user