From b1bbadde835fe3497ac1122ece86a91583d9c4cb Mon Sep 17 00:00:00 2001 From: Il Harper Date: Tue, 17 Sep 2024 12:35:38 +0800 Subject: [PATCH] feat(event): add `member` field in guild event messages --- packages/engine-chronocat-event/src/messages.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/engine-chronocat-event/src/messages.ts b/packages/engine-chronocat-event/src/messages.ts index c21bba7..0dd174c 100644 --- a/packages/engine-chronocat-event/src/messages.ts +++ b/packages/engine-chronocat-event/src/messages.ts @@ -79,6 +79,9 @@ export class GuildRequestDispatchMessage implements SatoriDispatchMessage { avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, }, + member: { + }, + message: { id: undefined as unknown as string, content: this.notify.postscript, @@ -126,6 +129,9 @@ export class GuildMemberRequestDispatchMessage avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, }, + member: { + }, + message: { id: undefined as unknown as string, content: this.notify.postscript, @@ -173,6 +179,9 @@ export class GuildMemberRemovedDispatchMessage avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, }, + member: { + }, + message: { id: undefined as unknown as string, content: this.notify.postscript,