mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -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
|
||||
botcom.dict["responsekey"] = "?default"
|
||||
|
||||
for command in list(botcom.dict["dict"].keys()):
|
||||
bot.osd(str(command))
|
||||
|
||||
# handling for special cases
|
||||
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():
|
||||
if command.lower() == posscom.lower():
|
||||
posscom = command
|
||||
|
||||
Loading…
Reference in New Issue
Block a user