mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
test
This commit is contained in:
parent
ea4d4ee6dd
commit
36feee99bc
@ -21,7 +21,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
if not len(trigger.args):
|
if not len(trigger.args):
|
||||||
return
|
return
|
||||||
|
|
||||||
message = str(trigger.args[1], 'utf-8')
|
message = str(trigger.args[1]).encode('utf-8', 'replace')
|
||||||
|
|
||||||
# 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