apps added to servers
how can i get the guilds that have added my app? i’m specifically asking this since guilds.cache doesnt contain that information.
16 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 OPyou dont
discord does not provide that information
for user apps that is
server apps
so with the bot scope?
this
if you invite it with the bot scope, <Client>.guilds.cache will contain it
assuming you have the Guilds intent
no, wasnt invited with bot scope. was added to server using "Add App" > "Add to Server"
if the developer provided the bot scope, it will have the bot scope
if it doesnt, the guild likely wont be in cache
i'm sorry for being so confused and i really appreciate your help
what does this mean exactly?
developers choose the install link and scopes their app will be installed with
such as that
ohhhhhhhhhhhhhhhhh
gotchaa
if bot is not specified, the bot member itself wont actually be in the guild
got it. thank you so much!