fix: 定义错误

This commit is contained in:
Alen 2024-09-14 10:49:43 +08:00
parent 066ca22e24
commit d68a39b49e

View File

@ -47,7 +47,7 @@ export class OneBotQuickActionApi {
const peerContextMode = msg.message_type == 'private' ? ContextMode.Private : ContextMode.Group;
const peer: Peer = await createContext(this.core, {
message: "",
message_type: undefined,
group_id: msg.group_id?.toString(),
user_id: msg.user_id?.toString(),
}, peerContextMode);