mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-22 07:07:53 +00:00
fix(event): fix message.id
field in guild events
This commit is contained in:
parent
00c4688386
commit
36cc8f89ea
@ -79,11 +79,10 @@ export class GuildRequestDispatchMessage implements SatoriDispatchMessage {
|
||||
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
|
||||
},
|
||||
|
||||
member: {
|
||||
},
|
||||
member: {},
|
||||
|
||||
message: {
|
||||
id: undefined as unknown as string,
|
||||
id: '',
|
||||
content: this.notify.postscript,
|
||||
},
|
||||
}
|
||||
@ -129,11 +128,10 @@ export class GuildMemberRequestDispatchMessage
|
||||
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
|
||||
},
|
||||
|
||||
member: {
|
||||
},
|
||||
member: {},
|
||||
|
||||
message: {
|
||||
id: undefined as unknown as string,
|
||||
id: '',
|
||||
content: this.notify.postscript,
|
||||
},
|
||||
}
|
||||
@ -179,11 +177,10 @@ export class GuildMemberRemovedDispatchMessage
|
||||
avatar: `http://thirdqq.qlogo.cn/headimg_dl?dst_uin=${this.uin}&spec=640`,
|
||||
},
|
||||
|
||||
member: {
|
||||
},
|
||||
member: {},
|
||||
|
||||
message: {
|
||||
id: undefined as unknown as string,
|
||||
id: '',
|
||||
content: this.notify.postscript,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user