how would i go about fetching a user's custom status?

don't know how this would be acheived
7 Replies
d.js toolkit
d.js toolkit10mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
snowyv4
snowyv4OP10mo ago
discord.js vers: 14.14.1, node version: 20.9.0 just need to know where to start rlly
Kevinnnn
Kevinnnn10mo ago
Get the member and get their presence data. Afterwards you can check the activities for an activity with a custom type.
d.js docs
d.js docs10mo ago
:property: GuildMember#presence The presence of this guild member :property: Presence#activities The activities of this presence :property: Activity#type The activity status's type
Kevinnnn
Kevinnnn10mo ago
Afterwards, you can get the data that the activity provides.
d.js docs
d.js docs10mo ago
:class: Activity Represents an activity that is part of a user's presence.
Kevinnnn
Kevinnnn10mo ago
To note, you do need the Presences intent to be able to receive presence data. I don't believe you'll get that data without the intent.
Want results from more Discord servers?
Add your server