CUSTOM bot activity
Hello there,
I am trying to set bot's custom activity, but failing to do so
this is the code in my ready.js -- every other activity works such as Playing/Watching...
Thank you in advance
8 Replies
- 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 OPUnknown User•2w ago
Message Not Public
Sign In & Join Server To View
Hello there. Can you try client.user.setPresence instead of client.user.setActivity
Related code
client.user.setPresence({
activities: [{ name:
discord.js v14
, type: ActivityType.Watching }],
status: 'dnd',
});
OkayThank you
The problem was my djs version... i didn't know least required for Custom activitytype is 14.11.0+, i updated to 14.13.0
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
ok i'll probably update to it, thank you so much
Should i close this?
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Alright
Stay legend, thanks!