test
This commit is contained in:
parent
fd43b7aea6
commit
bfd42a5a50
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user