Altpapier
Altpapier
DIAdiscord.js - Imagine an app
Created by Altpapier on 5/4/2024 in #djs-questions
Interaction authorizing_integration_owners key
Hello! For a while now I've been using the raw interaction data in order to get some informations that weren't in discord.js yet, one of them being the authorizing_integration_owners key that can be found in interactions (https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object). I use that key to check when a command is executed if the app was user installed (https://discord.com/developers/docs/tutorials/developing-a-user-installable-app) or if the command is executed because the bot was invited to a guild. With the new discord.js release I've found entitlements being added and wanted to ask if there is currently a way to check for the previously described use case or not as I would like to go back using the normal interactions.
4 replies
DIAdiscord.js - Imagine an app
Created by Altpapier on 7/28/2022 in #djs-questions
Shards not automatically respawning after error
Hello! I have recently after switching to the new v14 version of discord.js been having an issue where some shards would just die and not come back. In this example the shards 0 and 11 had an INTERNAL_ERROR but after resuming they never actually came back and I had to restart the shards manually. The ws.status also always showed Ready. If there is any solution to stop this from happening let me know thanks! Screenshots: https://i.altpapier.dev/c1PXJNAoSZ.png https://i.altpapier.dev/soE8OR9Vff.png
11 replies