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