mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
5277e03242
commit
468c776a80
@ -69,9 +69,8 @@ def bot_command_rule(bot, trigger):
|
|||||||
else:
|
else:
|
||||||
if command_type == 'nickname':
|
if command_type == 'nickname':
|
||||||
|
|
||||||
if trigger_args[0].lower() in ["what", "where"] and trigger_args[0].lower() in ["is", "are"]:
|
if trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]:
|
||||||
searchterm = spicemanip.main(trigger_args, "3+") or None
|
searchterm = spicemanip.main(trigger_args, "3+") or None
|
||||||
bot.say(str(searchterm))
|
|
||||||
if searchterm:
|
if searchterm:
|
||||||
if trigger_args[0].lower() == "where":
|
if trigger_args[0].lower() == "where":
|
||||||
searchreturn = SpiceBot.googlesearch(searchterm, 'maps')
|
searchreturn = SpiceBot.googlesearch(searchterm, 'maps')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user