test
This commit is contained in:
parent
2601011660
commit
2c3f81243d
@ -6,6 +6,11 @@ from sopel_SpiceBot_Core_1 import sb
|
|||||||
def validate_trigger(trigger, trigger_dict):
|
def validate_trigger(trigger, trigger_dict):
|
||||||
redispatch = False
|
redispatch = False
|
||||||
|
|
||||||
|
print(trigger.group(0))
|
||||||
|
print(trigger.group(1))
|
||||||
|
print(trigger.args[0])
|
||||||
|
print(trigger.args[1])
|
||||||
|
|
||||||
if trigger_dict["trigger_type"] == "command":
|
if trigger_dict["trigger_type"] == "command":
|
||||||
trigger._pretrigger = sb.commands.generate_pretrigger_command(trigger_dict)
|
trigger._pretrigger = sb.commands.generate_pretrigger_command(trigger_dict)
|
||||||
elif trigger_dict["trigger_type"] == "nickname_command":
|
elif trigger_dict["trigger_type"] == "nickname_command":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user