test
This commit is contained in:
parent
81ccf3f3d1
commit
20e321fe17
@ -46,6 +46,10 @@ def get_commands(bot, trigger):
|
||||
trigger_type = "nickname_command"
|
||||
trigger_prefix = str(trigger_item.split(" ")[0])
|
||||
trigger_str = str(trigger_item.split(" ")[1:])
|
||||
elif trigger_item.startswith(tuple(["ACTION", "/me"])):
|
||||
first_trigger_type = "action_command"
|
||||
first_trigger_prefix = "ACTION"
|
||||
trigger_str = trigger_item
|
||||
else:
|
||||
# Assume same command type until proven otherwise
|
||||
trigger_type = first_trigger_type
|
||||
|
||||
Loading…
Reference in New Issue
Block a user