This commit is contained in:
deathbybandaid 2019-06-07 08:11:43 -04:00
parent ff0931942a
commit 5277e03242

View File

@ -68,10 +68,10 @@ def bot_command_rule(bot, trigger):
bot.osd(str(returnmessage))
else:
if command_type == 'nickname':
bot.say(str(trigger_args[0].lower()))
if trigger_args[0].lower() in ["what", "where"] and trigger_args[0].lower() in ["is", "are"]:
searchterm = spicemanip.main(trigger_args, "3+") or None
bot.say(str(searchterm))
if searchterm:
if trigger_args[0].lower() == "where":
searchreturn = SpiceBot.googlesearch(searchterm, 'maps')