This commit is contained in:
deathbybandaid 2019-06-04 11:57:45 -04:00
parent 7bf1a2e700
commit 267f98aa9e

View File

@ -28,7 +28,7 @@ def bot_command_rule(bot, trigger):
return
if str(message).lower().startswith(str(bot.nick).lower()):
trigger_args, trigger_command = SpiceBot.prerun.trigger_args(trigger.args[1], 'nickname')
trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'nickname')
if trigger_command in SpiceBot.commands.dict['commands']["nickname"].keys():
return