member presence activities

member presence activitity returns largeImage and timestamps null while there is image and timestamp in discord client itself
No description
8 Replies
d.js toolkit
d.js toolkit2w 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
TÆMBØ
TÆMBØ2w ago
I 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 use
YK303
YK303OP2w ago
ye mb timestamp exist but i only have apllicationid can't get image from that only
TÆMBØ
TÆMBØ2w ago
🤷 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 activities
YK303
YK303OP2w ago
but that will be manually for each app
TÆMBØ
TÆMBØ2w ago
Not much you can do about that. Again, it's a limitation imposed by the API, not by discord.js
YK303
YK303OP2w ago
but is it allowed for verified bots? to get them from discord api offically
TÆMBØ
TÆMBØ2w ago
I don't believe anything regarding presence activity details change whether or not your app is verified
Want results from more Discord servers?
Add your server