Boost Logger
i dont know if thats the right way and have no one that boost the server to test it
10 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!A member doesnt have a premiumsubscriptioncount property
A guild does
And i dont knownwhat setImage9 is supposed to do
i miss typed it
the member only changes when they first boost, there is no way to detect subsequent boosts, as the timestamp does not change
also so?
guild = client.guilds.cache.get('1166077612272123954');
• Boosts: ${guild.premiumSubscriptionCount}
just member.guild works
the only very scuffed way to do this is to set up boost notifications and listen for and process those messages
and then you won't know when people stop boosting, and overall this is just not reliably trackable
wdym
No need to get from cache
member.guild exists
also just use > • Boosts: ${member.guild.premiumSubscriptionCount}