mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
badb47eb86
commit
0ce5571c94
@ -22,8 +22,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
return
|
return
|
||||||
|
|
||||||
message = trigger.args[1]
|
message = trigger.args[1]
|
||||||
if isinstance(message, 'unicode'):
|
message = ''.join([x for x in message if ord(x) < 128])
|
||||||
return
|
|
||||||
|
|
||||||
# ignore text coming from a valid prefix
|
# ignore text coming from a valid prefix
|
||||||
if str(message).startswith(tuple(bot.config.core.prefix_list)):
|
if str(message).startswith(tuple(bot.config.core.prefix_list)):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user