Skip to content

Commit

Permalink
fix(event): fix message.id field in guild events
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Sep 22, 2024
1 parent 00c4688 commit 36cc8f8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions packages/engine-chronocat-event/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
Expand Down Expand Up @@ -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,
},
}
Expand Down Expand Up @@ -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,
},
}
Expand Down

0 comments on commit 36cc8f8

Please sign in to comment.