[Solved] guildMemberUpdate event only firing after second nickname change
I'm trying to detect when someone changes their nickname.
Output:
13 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
└── [email protected]
v16.17.1
you are missing Guilds intent
and you will need GuildMember partial
So it also fires for the first change?
yes
The changes are all done after the bot printed online.
if the member wasnt cached, oldMember would be a partial
Ah.
and if you dont have partials enabled, the event wont fire
I thought the event sends it.
no, the event (discord) only sends the new data
Ah, thank you.
Solved.