For the bot I'm writing I am trying to get the current status of the user that started an Interaction. This is my code, which seems perfectly fine according to the discord.js docs.
console.log(interaction.member.presence)
When running this, it outputs null.
Why is this happening? I've seen some people use fetching but I can't seem to implement that into my app.
presence
intents on the Discord Developer Dashboard and also "offline" users or users who have set their status to offline don't have any presence data, so it returnsnull
Intents.FLAGS.GUILD_PRESENCES
intent to your intents on the main file.