ClientUser.setActivity
Hello everybody!
I'm trying to implement in my project the feature that allows the user to show a presence on Discord just using their authentication token. For it I'm using the modified Discord.js script provided at https://github.com/seia-soto/chrome-discord-presence.
My question is how can I use https://discord.js.org/docs/packages/discord.js/14.16.2/ClientUser:Class#setActivity to show a presence as customized as https://github.com/pandasoli/nekovim/raw/master/docs/final-preview.gif ? The documentation of
ClientUser.setActivity
doesn't say anything about changing the images.
PS: The script works and as far as I tested all the features currently described in the documentation of ClientUser.setActivity
work.3 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 OP14. Do not use self-bots or user-bots. Each account must be associated with a human, not a bot. (See our Platform Manipulation Policy Explainer for more.)- source
People are supposed to allow the use of their authentication token
I'll give a long explanation to let them know what they're doing before providing their token
RPC doesn't work on the browser
I'll have to use a desktop client or chrome native-messaging, which i'm avoiding
What can happen if my app allows the user to violate it?
š¬
thanks for the info!