#user presence
6 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
I think that's a question for #986520997006032896 but you can get the presence of the user who sent the interaction with <Interaction>.member.presence
keep in mind that offline members do not have a presence
Iirc you need to force fetch the member with withPresences: true in the options
If I use ```js
const user = interaction.options.getUser('target') || interaction.user;
console.log(interaction.user.presence)
I am getting `undefined`
If I use ```js
const member = interaction.options.getUser('target') || interaction.user;
console.log(interaction.member.presence)
I am getting null