-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 2.1.0: fix some bugs, add new features, modify definitions.
1. Add a function which can format cq string to message array. 2. Add new apis: event(), msg_text() 3. Modify some object typing and definitions.
- Loading branch information
Showing
11 changed files
with
182 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
from .action import * | ||
from .base import RWController, get_twin_event | ||
from .base import RWController, get_twin_event, to_cq_arr | ||
from .bot import BOT_PROXY as bot | ||
from .event import MetaEvent, MsgEvent, NoticeEvent, RequestEvent, RespEvent | ||
from .ipc import PluginBus, PluginStore | ||
from .plugin import Plugin | ||
from .session import SESSION_LOCAL as session | ||
from .session import AttrSessionRule, BotSession, finish, send, send_hup, send_reply | ||
from .session import ( | ||
AttrSessionRule, | ||
BotSession, | ||
event, | ||
finish, | ||
msg_text, | ||
send, | ||
send_hup, | ||
send_reply, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.