This commit is contained in:
deathbybandaid 2022-02-23 13:28:32 -05:00
parent e584d157d2
commit 065ed55552

View File

@ -3,7 +3,7 @@ import functools
from sopel_SpiceBot_Core_1 import sb
from .comrun import ComRun
from .clean_trigger import clean_trigger
# from .clean_trigger import clean_trigger
# from .validate_command import validate_command
# from .dispatch_multi import dispatch_multi
# from .pipe_split import pipe_split
@ -29,9 +29,9 @@ def prerun(rulematch=False):
# This will give sopel the appearance of recieving individual commands
if len(commands) > 1:
for trigger_dict in commands:
print(trigger_dict)
sb.commands.dispatch(trigger_dict)
return
bot.say(trigger.groups(1))
# This is where we rebuild trigger
# we validate a few things here