refactor: inline getApiContext()

This commit is contained in:
Wesley F. Young committed 2024-08-11 19:10:42 +08:00
1 parent e88c0346f3
commit 89e777f99e
71 files changed
+173 -167

No files matched your search

@@ -22,7 +22,7 @@ export class SendGroupNotice extends BaseAction<Payload, null> {
actionName = ActionName.GoCQHTTP_SendGroupNotice;
async _handle(payload: Payload) {
const NTQQGroupApi = this.CoreContext.getApiContext().GroupApi;
const NTQQGroupApi = this.CoreContext.apis.GroupApi;
let UploadImage: { id: string, width: number, height: number } | undefined = undefined;
if (payload.image) {
//公告图逻辑