[Event] - GuildMemberRemove get deleted user and throw an error
Closed this issue · 0 comments
LeadcodeDev commented
Context
When a member is deleted from the server, the serverMemberRemove
event is triggered.
This packet executes an HTTP request to the Discord API to retrieve the previously deleted member.
The problem is that this user no longer exists on the Discord side.
Steps
- Remove HTTP request
- Allow member as nullable