fix: handleQuickOperation

This commit is contained in:
手瓜一十雪
2024-08-27 22:47:30 +08:00
parent a3f6aa2306
commit 1bdb3cae13
3 changed files with 16 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ export function normalize(message: OB11MessageMixType, autoEscape = false): OB11
) : Array.isArray(message) ? message : [message];
}
async function createContext(core: NapCatCore, payload: OB11PostSendMsg, contextMode: ContextMode): Promise<Peer> {
export async function createContext(core: NapCatCore, payload: OB11PostSendMsg, contextMode: ContextMode): Promise<Peer> {
// This function determines the type of message by the existence of user_id / group_id,
// not message_type.
// This redundant design of Ob11 here should be blamed.