test
This commit is contained in:
parent
9d88708542
commit
c6e5a19595
@ -53,7 +53,7 @@ def get_commands(bot, trigger):
|
|||||||
elif trigger_item.startswith(tuple(["ACTION", "/me"])):
|
elif trigger_item.startswith(tuple(["ACTION", "/me"])):
|
||||||
trigger_type = "action_command"
|
trigger_type = "action_command"
|
||||||
trigger_prefix = "ACTION"
|
trigger_prefix = "ACTION"
|
||||||
trigger_str = trigger_item
|
trigger_str = " ".join(trigger_item.split(" ")[1:])
|
||||||
else:
|
else:
|
||||||
# Assume same command type until proven otherwise
|
# Assume same command type until proven otherwise
|
||||||
trigger_type = first_trigger_type
|
trigger_type = first_trigger_type
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user