This commit is contained in:
deathbybandaid 2019-06-11 11:28:53 -04:00
parent 708561ffe9
commit 791c570849

View File

@ -150,7 +150,7 @@ def bot_command_rule(bot, trigger):
return return
elif fulltrigger.lower().startswith(tuple(["make me a", "beam me a"])): elif fulltrigger.lower().startswith(tuple(["make me a", "beam me a"])):
makemea = spicemanip.main(trigger.sb['args'], "4+") or None makemea = spicemanip.main(trigger_args, "4+") or None
if makemea: if makemea:
bot.osd("beams " + trigger.nick + " a " + makemea, trigger.sender, 'action') bot.osd("beams " + trigger.nick + " a " + makemea, trigger.sender, 'action')
else: else:
@ -158,7 +158,7 @@ def bot_command_rule(bot, trigger):
return return
elif fulltrigger.lower().startswith("beam me to"): elif fulltrigger.lower().startswith("beam me to"):
location = spicemanip.main(trigger.sb['args'], "4+") or None location = spicemanip.main(trigger_args, "4+") or None
if location: if location:
bot.osd("locks onto " + trigger.nick + "s coordinates and transports them to " + location, 'action') bot.osd("locks onto " + trigger.nick + "s coordinates and transports them to " + location, 'action')
else: else:
@ -176,7 +176,7 @@ def bot_command_rule(bot, trigger):
# TODO # TODO
# elif fulltrigger.lower().startswith(tuple(["have you seen"])): # elif fulltrigger.lower().startswith(tuple(["have you seen"])):
# posstarget = spicemanip.main(trigger.sb['args'], 4) or 0 # posstarget = spicemanip.main(trigger_args, 4) or 0
# message = seen_search(bot, botcom, posstarget) # message = seen_search(bot, botcom, posstarget)
# bot.osd(message) # bot.osd(message)
# return # return