Discord Status fetcher with guild?

Hello Ya'll, How can I retrieve and display the current activity status of myself (as guild member) on my website? I am considering creating a JSON API using Node.js, which would utilize a Discord bot to obtain this data and then parse it into the API.
5 Replies
d.js toolkit
d.js toolkit9mo 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
chewie
chewie9mo ago
not djs related, #useful-servers #other-js-ts
Rin Shima
Rin ShimaOP9mo ago
I wanted to ask how to fetch the users activity using discord.js since, i've not been able to find anything within the docs which allows me to exactly what I want to do.
chewie
chewie9mo ago
you would have to fetch the guildmember object and that also required the GuildPresences intent, you are better off relying on something else than a bot library
Rin Shima
Rin ShimaOP9mo ago
What would you recommend me doing then, since the REST API doesn't really allow me to fetch the activity of the myself, and having a program open 24/7 to send my data over to the webserver doesn't sound ideal either. For music i could maybe use last.fm but for games i'm not sure Figured it out
Want results from more Discord servers?
Add your server