#How to get how many users have installed the app

4 messages · Page 1 of 1 (latest)

languid silo
#

On discord.dev, you can see how many users have installed the app, but I don't know how to get this value inside of Discord.JS, is it possible?

viral ploverBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
languid silo
#

I did take a scan through Client on the documentation but it appears Users is legit all the users that the bot has access to which isn't going to be the right value

#

actually nvm, i found what discord gives to us via client.application.approximateUserInstallCount after digging through the network logs for the discord.dev page. if there is a better method to this though it would be great to know what the method is