|
75 | 75 | from .uniseg import Segment as Segment |
76 | 76 | from .uniseg import TO_TEXT as TO_TEXT |
77 | 77 | from .uniseg import get_bot as get_bot |
78 | | -from .matcher import Command as Command |
79 | 78 | from .typings import Spoiler as Spoiler |
| 79 | +from .shortcut import Command as Command |
80 | 80 | from .uniseg import Keyboard as Keyboard |
81 | 81 | from .uniseg import ROLLBACK as ROLLBACK |
82 | 82 | from .matcher import referent as referent |
|
95 | 95 | from .uniseg import UniMessage as UniMessage |
96 | 96 | from .extension import Extension as Extension |
97 | 97 | from .extension import Interface as Interface |
98 | | -from .matcher import funcommand as funcommand |
99 | 98 | from .matcher import on_alconna as on_alconna |
100 | 99 | from .typings import ImageOrUrl as ImageOrUrl |
101 | 100 | from .params import match_value as match_value |
| 101 | +from .shortcut import funcommand as funcommand |
102 | 102 | from .uniseg import image_fetch as image_fetch |
103 | 103 | from .pattern import select_last as select_last |
104 | 104 | from .params import AlconnaMatch as AlconnaMatch |
|
125 | 125 | from .uniseg import UniversalMessage as UniversalMessage |
126 | 126 | from .uniseg import UniversalSegment as UniversalSegment |
127 | 127 | from .params import AlconnaExecResult as AlconnaExecResult |
128 | | -from .matcher import command_from_json as command_from_json |
129 | | -from .matcher import command_from_yaml as command_from_yaml |
130 | 128 | from .params import AlconnaDuplication as AlconnaDuplication |
| 129 | +from .shortcut import command_from_json as command_from_json |
| 130 | +from .shortcut import command_from_yaml as command_from_yaml |
131 | 131 | from .uniseg import apply_media_to_url as apply_media_to_url |
132 | 132 | from .uniseg import patch_matcher_send as patch_matcher_send |
133 | | -from .matcher import commands_from_json as commands_from_json |
134 | | -from .matcher import commands_from_yaml as commands_from_yaml |
135 | 133 | from .consts import ALCONNA_EXEC_RESULT as ALCONNA_EXEC_RESULT |
| 134 | +from .shortcut import commands_from_json as commands_from_json |
| 135 | +from .shortcut import commands_from_yaml as commands_from_yaml |
136 | 136 | from .uniseg import apply_fetch_targets as apply_fetch_targets |
137 | 137 | from .uniseg import SupportAdapterModule as SupportAdapterModule |
138 | 138 | from .extension import add_global_extension as add_global_extension |
|
0 commit comments