mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
f27ac05826
commit
cb8613d685
@ -462,6 +462,9 @@ def updatable_content(bot, botcom, trigger):
|
|||||||
def special_handling(botcom):
|
def special_handling(botcom):
|
||||||
botcom.dict["responsekey"] = "?default"
|
botcom.dict["responsekey"] = "?default"
|
||||||
|
|
||||||
|
if "nonstockoptions" not in list(botcom.dict["dict"].keys()):
|
||||||
|
botcom.dict["dict"]["nonstockoptions"] = []
|
||||||
|
|
||||||
# handling for special cases
|
# handling for special cases
|
||||||
posscom = spicemanip(botcom.dict['args'], 1)
|
posscom = spicemanip(botcom.dict['args'], 1)
|
||||||
if posscom.lower() in [command.lower() for command in botcom.dict["dict"]["nonstockoptions"]]:
|
if posscom.lower() in [command.lower() for command in botcom.dict["dict"]["nonstockoptions"]]:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user