This commit is contained in:
deathbybandaid 2022-02-12 11:54:34 -05:00
parent fd43b7aea6
commit bfd42a5a50

View File

@ -12,6 +12,14 @@ def prerun_command():
@functools.wraps(function)
def internal_prerun(bot, trigger, *args, **kwargs):
# Get && split for multiple commands
if "&&" in trigger.args[1]:
triggers = trigger.args[1].split("&&")
else:
triggers = [trigger.args[1]]
bot.say(triggers)
trigger_command_type = str("command")
# Primary command used for trigger, and a list of all words