mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
bcf835a863
commit
20f298d452
@ -46,7 +46,6 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
|||||||
else:
|
else:
|
||||||
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
|
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
|
||||||
return
|
return
|
||||||
bot.say("a")
|
|
||||||
|
|
||||||
trigger_command_type = str(t_command_type)
|
trigger_command_type = str(t_command_type)
|
||||||
|
|
||||||
@ -55,17 +54,14 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
|||||||
|
|
||||||
if trigger_prefix in [botconfig.SpiceBot_Commands.query_prefix]:
|
if trigger_prefix in [botconfig.SpiceBot_Commands.query_prefix]:
|
||||||
return
|
return
|
||||||
bot.say("b")
|
|
||||||
|
|
||||||
trigger_command_type = botcommands.find_command_type(trigger_command)
|
trigger_command_type = botcommands.find_command_type(trigger_command)
|
||||||
if not trigger_command_type:
|
if not trigger_command_type:
|
||||||
return
|
return
|
||||||
bot.say("c")
|
|
||||||
|
|
||||||
if t_command_subtype:
|
if t_command_subtype:
|
||||||
if trigger_command_type != t_command_subtype:
|
if trigger_command_type != t_command_subtype:
|
||||||
return
|
return
|
||||||
bot.say("d")
|
|
||||||
|
|
||||||
# Argsdict Defaults
|
# Argsdict Defaults
|
||||||
argsdict_default = {}
|
argsdict_default = {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user