chore: Onebot context

This commit is contained in:
手瓜一十雪 committed 2024-08-12 13:04:24 +08:00
1 parent 0ef6d8eee4
commit 8332d6ab41
6 files changed
+48 -37

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export class GoCQHTTPHandleQuickAction extends BaseAction<Payload, null> {
actionName = ActionName.GoCQHTTP_HandleQuickAction;
async _handle(payload: Payload): Promise<null> {
handleQuickOperation(this.CoreContext, payload.context, payload.operation).then().catch(this.CoreContext.context.logger.logError);
handleQuickOperation(this.CoreContext, this.OneBotContext, payload.context, payload.operation).then().catch(this.CoreContext.context.logger.logError);
return null;
}
}