send public member in message_reaction_add eventt

This commit is contained in:
Madeline
2023-04-11 13:47:26 +10:00
parent 88031fd0b7
commit ab07ad692c
2 changed files with 20 additions and 2 deletions
+9
View File
@@ -440,6 +440,15 @@ export class Member extends BaseClassWithoutId {
]);
}
}
toPublicMember() {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const member: any = {};
PublicMemberProjection.forEach((x) => {
member[x] = this[x];
});
return member as PublicMember;
}
}
export interface ChannelOverride {