mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
better
This commit is contained in:
parent
7bf1a2e700
commit
267f98aa9e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user