This commit is contained in:
deathbybandaid 2019-06-11 11:29:11 -04:00
parent 791c570849
commit cc09601002

View File

@ -57,7 +57,7 @@ def bot_command_rule(bot, trigger):
if trigger_command.startswith(tuple(bot.config.core.prefix_list)): if trigger_command.startswith(tuple(bot.config.core.prefix_list)):
return return
# If valid command don't continue further # If valid command don't continue further
if trigger_command not in commands_list: if trigger_command in commands_list:
return return
else: else:
command_type = 'other' command_type = 'other'