mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
test
This commit is contained in:
parent
b95b41e9ab
commit
e4ff6d30db
@ -23,6 +23,9 @@ def bot_command_rule(bot, trigger):
|
||||
|
||||
message = trigger.args[1]
|
||||
|
||||
if is_ascii(message):
|
||||
return
|
||||
|
||||
# ignore text coming from a valid prefix
|
||||
if str(message).startswith(tuple(bot.config.core.prefix_list)):
|
||||
trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'module')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user