feat(event): add member field in guild event messages

This commit is contained in:
Il Harper 2024-09-17 12:35:38 +08:00 committed by GitHub
parent afbee93033
commit b1bbadde83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,6 +79,9 @@ export class GuildRequestDispatchMessage implements SatoriDispatchMessage {
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
}, },
member: {
},
message: { message: {
id: undefined as unknown as string, id: undefined as unknown as string,
content: this.notify.postscript, content: this.notify.postscript,
@ -126,6 +129,9 @@ export class GuildMemberRequestDispatchMessage
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
}, },
member: {
},
message: { message: {
id: undefined as unknown as string, id: undefined as unknown as string,
content: this.notify.postscript, content: this.notify.postscript,
@ -173,6 +179,9 @@ export class GuildMemberRemovedDispatchMessage
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`, avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
}, },
member: {
},
message: { message: {
id: undefined as unknown as string, id: undefined as unknown as string,
content: this.notify.postscript, content: this.notify.postscript,