mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
hmm
This commit is contained in:
parent
6634617b1e
commit
766ff9e9d0
@ -26,6 +26,9 @@ def bot_command_rule(bot, trigger):
|
||||
# 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')
|
||||
# patch for people typing "...", maybe other stuff, but this verifies that there is still a command here
|
||||
if trigger_command.startswith("."):
|
||||
return
|
||||
commands_list = []
|
||||
for commandstype in SpiceBot.commands.dict['commands'].keys():
|
||||
if commandstype not in ['rule', 'nickname']:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user