mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
temp patch for old bot
This commit is contained in:
parent
48dd8d0478
commit
0cdc934316
@ -26,6 +26,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
|
|
||||||
# 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)):
|
||||||
|
return
|
||||||
trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'module')
|
trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'module')
|
||||||
# patch for people typing "...", maybe other stuff, but this verifies that there is still a command here
|
# patch for people typing "...", maybe other stuff, but this verifies that there is still a command here
|
||||||
if trigger_command.startswith("."):
|
if trigger_command.startswith("."):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user