mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
465e256d17
commit
a720c91b08
@ -70,6 +70,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
if command_type == 'nickname':
|
if command_type == 'nickname':
|
||||||
|
|
||||||
if trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]:
|
if trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]:
|
||||||
|
# TODO saved definitions
|
||||||
searchterm = spicemanip.main(trigger_args, "3+") or None
|
searchterm = spicemanip.main(trigger_args, "3+") or None
|
||||||
if searchterm:
|
if searchterm:
|
||||||
if trigger_args[0].lower() == "where":
|
if trigger_args[0].lower() == "where":
|
||||||
|
|||||||
@ -21,6 +21,7 @@ def nickname_comand_channels(bot, trigger):
|
|||||||
commandused = 'list'
|
commandused = 'list'
|
||||||
else:
|
else:
|
||||||
commandused = spicemanip.main(trigger.sb['args'], 1).lower()
|
commandused = spicemanip.main(trigger.sb['args'], 1).lower()
|
||||||
|
bot.say(str(commandused))
|
||||||
|
|
||||||
commands_list = []
|
commands_list = []
|
||||||
for commandstype in SpiceBot.commands.dict['commands'].keys():
|
for commandstype in SpiceBot.commands.dict['commands'].keys():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user