How to get how many users have installed the app
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?
3 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!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
:property: ClientApplication#approximateUserInstallCount
@14.16.3
An approximate amount of users that have installed this application.