This commit is contained in:
deathbybandaid 2022-02-23 13:35:34 -05:00
parent 2c8e8c2b28
commit cb1297a6cb
2 changed files with 2 additions and 3 deletions

View File

@ -145,7 +145,6 @@ class Commands():
"trigger_prefix": first_trigger_prefix,
"trigger_str": first_trigger_str.replace(splitkey, ""),
"trigger_command": first_trigger_command.replace(splitkey, ""),
"trigger_command_unclean": first_trigger_command,
"trigger_hostmask": trigger.hostmask,
"trigger_sender": trigger.sender,
"trigger_time": str(trigger.time)
@ -216,7 +215,6 @@ class Commands():
"trigger_prefix": trigger_prefix,
"trigger_str": trigger_str.replace(splitkey, ""),
"trigger_command": trigger_command.replace(splitkey, ""),
"trigger_command_unclean": trigger_command,
"trigger_hostmask": trigger.hostmask,
"trigger_sender": trigger.sender,
"trigger_time": str(trigger.time)

View File

@ -31,7 +31,8 @@ def prerun(rulematch=False):
for trigger_dict in commands:
sb.commands.dispatch(trigger_dict)
return
bot.say(trigger.groups(1))
print(trigger.args[1].split("&&")[0])
# This is where we rebuild trigger
# we validate a few things here