Hi back,
I encounter again a little issue concerning user's presence status. Within my script, the property seems absent from the retrieved GuildMember, even if the doc mentions this property should exist: https://discord.js.org/#/docs/main/stable/class/GuildMember?scrollTo=presence
I well turned on the "Privileged Gateway Intents" > "Presence Intent" in the "Bot" section of the developer portal application website.
To be sure, I turned off the bot, kicked it from my server, invited it back, and restarted the bot, but it didn't resolve the issue.
const member = await interaction.guild.members.fetch(userId).catch(() => {}); // userId being mine.
console.log(member) // well display all information, but there is no key "presence"
console.log(member.presence.status) // Throw an error: Cannot read properties of null (reading 'status')
Did I miss something?