Cookie
Cookie
DIAdiscord.js - Imagine an app
Created by Cookie on 1/20/2025 in #djs-questions
Responding to a button interaction received from the gateway to launch activity
After configuring a button to launch an activity (within a message sent by the app's bot), the activity won't launch. Getting a 'This interaction failed' error message. Is specifying the interaction callback type = 12 not enough? Are there other parameters needed in the response object body (sent to the HTTP API) to launch the activity (i.e. client ID, bot token)?
4 replies
DIAdiscord.js - Imagine an app
Created by Cookie on 12/13/2024 in #djs-questions
How to launch an activity when responding to a interaction?
Upon receiving an interaction event through the gateway, after a player pressed a button (with a custom ID), how can one respond to the said interaction by launching the corresponding activity of an app?
3 replies
DIAdiscord.js - Imagine an app
Created by Cookie on 12/2/2024 in #djs-questions
Event to signify the launching on an activity
Is there a particular gateway event to know if an installed activity has been launched/started by a user in a Discord server? (appropriate gateway event to listen to)
3 replies
DIAdiscord.js - Imagine an app
Created by Cookie on 11/29/2024 in #djs-questions
Fetch the prices of each SKU in your application store front
Hello, is it possible to fetch the prices of SKUs from your application store front using discord.js?
5 replies
DIAdiscord.js - Imagine an app
Created by Cookie on 11/25/2024 in #djs-questions
Fetching entitlements of an app
Relatively new with the library, is it possible from a backend service to use discord js to fetch the entitlements of a given application? to be specific, once you manage to setup and initialize the Discord client using login and the corresponding token, how would one access the entitlements of a given user ID?
3 replies