chore:action

This commit is contained in:
手瓜一十雪 committed 2024-08-09 16:15:17 +08:00
1 parent 013df1dbdd
commit 67d92c61f7
19 files changed
+48 -80

No files matched your search

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