This commit is contained in:
deathbybandaid 2022-02-24 14:01:38 -05:00
parent 4081921ccc
commit 52ceb5eb64

View File

@ -40,6 +40,8 @@ def prerun():
return return
if comrun.is_rulematch and comrun.is_real_command: if comrun.is_rulematch and comrun.is_real_command:
return
elif comrun.is_rulematch and not comrun.is_real_command:
bot.say("Invalid command: %s" % comrun.command["trigger_command"]) bot.say("Invalid command: %s" % comrun.command["trigger_command"])
return return