This commit is contained in:
deathbybandaid 2019-06-04 16:18:40 -04:00
parent 6634617b1e
commit 766ff9e9d0

View File

@ -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']: