mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
better
This commit is contained in:
parent
7bf1a2e700
commit
267f98aa9e
@ -28,7 +28,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if str(message).lower().startswith(str(bot.nick).lower()):
|
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():
|
if trigger_command in SpiceBot.commands.dict['commands']["nickname"].keys():
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user