mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:15:24 +08:00
21 lines
410 B
Python
21 lines
410 B
Python
# used by Matcher
|
|
RECEIVE_KEY = "_receive_{id}"
|
|
LAST_RECEIVE_KEY = "_last_receive"
|
|
ARG_KEY = "_arg_{key}"
|
|
ARG_STR_KEY = "{key}"
|
|
REJECT_TARGET = "_current_target"
|
|
|
|
# used by Rule
|
|
PREFIX_KEY = "_prefix"
|
|
|
|
CMD_KEY = "command"
|
|
RAW_CMD_KEY = "raw_command"
|
|
CMD_ARG_KEY = "command_arg"
|
|
|
|
SHELL_ARGS = "_args"
|
|
SHELL_ARGV = "_argv"
|
|
|
|
REGEX_MATCHED = "_matched"
|
|
REGEX_GROUP = "_matched_groups"
|
|
REGEX_DICT = "_matched_dict"
|