mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
8b8c7d0b0f
commit
30e02bf42a
@ -33,12 +33,9 @@ def bot_dictcom_process(bot, trigger, botcom):
|
|||||||
# use the default key, unless otherwise specified
|
# use the default key, unless otherwise specified
|
||||||
botcom.dict["responsekey"] = "?default"
|
botcom.dict["responsekey"] = "?default"
|
||||||
|
|
||||||
for command in list(botcom.dict["dict"].keys()):
|
|
||||||
bot.osd(str(command))
|
|
||||||
|
|
||||||
# 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 list(botcom.dict["dict"].keys())]:
|
if posscom.lower() in [str(command).lower() for command in list(botcom.dict["dict"].keys())]:
|
||||||
for command in botcom.dict["dict"].keys():
|
for command in botcom.dict["dict"].keys():
|
||||||
if command.lower() == posscom.lower():
|
if command.lower() == posscom.lower():
|
||||||
posscom = command
|
posscom = command
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user