This commit is contained in:
deathbybandaid 2022-02-24 11:24:34 -05:00
parent 9d86ab9fe8
commit 95f0aee41e

View File

@ -18,13 +18,13 @@ def prerun():
# This will give sopel the appearance of recieving individual commands
if comrun.is_multi_command:
if not comrun.is_rulematch:
print("not a rule match")
bot.say("not a rule match")
sb.commands.dispatch(comrun.command)
elif comrun.is_rulematch:
print("is a rule match")
bot.say("is a rule match")
# if not comrun.is_real_command:
if comrun.has_command_been_sanitized:
print("has been sanitized")
bot.say("has been sanitized")
sb.commands.dispatch(comrun.command)
for trigger_dict in comrun.commands[1:]:
sb.commands.dispatch(trigger_dict)