mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
more tweaks
This commit is contained in:
parent
0362e13d7c
commit
cecd23556b
@ -44,7 +44,7 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
||||
check_nick = spicemanip(trigger.args[1], 1).lower()
|
||||
if check_nick != str(bot.nick).lower():
|
||||
return
|
||||
else:
|
||||
elif t_command_type == "module":
|
||||
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
|
||||
return
|
||||
|
||||
@ -133,7 +133,7 @@ def prerun_query(t_command_type='module', t_command_subtype=None):
|
||||
check_nick = spicemanip(trigger.args[1], 1).lower()
|
||||
if check_nick != str(bot.nick).lower():
|
||||
return
|
||||
else:
|
||||
elif t_command_type == "module":
|
||||
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
|
||||
return
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user