member presence activities
member presence activitity returns largeImage and timestamps null while there is image and timestamp in discord client itself
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 OPI see a timestamp there, and the image is probably through Discord's
app-icon
CDN route as opposed to the other application image routes that largeImage
and smallImage
useye mb timestamp exist
but i only have apllicationid can't get image from that only
🤷 API limitation
You could inspect element your Discord client to get the hash for the image it and use
https://cdn.discordapp.com/app-icons/${activity.applicationId}/${imageHash}
if you really want the image, but that's a hacky way and not officially supported for resolving images from activitiesbut that will be manually for each app
Not much you can do about that. Again, it's a limitation imposed by the API, not by discord.js
but is it allowed for verified bots?
to get them from discord api offically
I don't believe anything regarding presence activity details change whether or not your app is verified