guildMemberUpdate only firing on 2nd event
So I have subscribed to the
guildMemberUpdate
event, but it is not being called the first time I assign a role to someone. Only when I remove that role is it firing. From then after it works perfectly.
5 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
As you can see from the gif, I remove the role, but the event isn't called
Only after re-adding it, it gets called
(after this, everything is fine)
Because the first time the member isn't cached. You need
GuildMemebr
partial.