#checking server boosters without roles

5 messages · Page 1 of 1 (latest)

rapid nest
#

Is there a way to check if a user is server boosting a server without having to check roles. (and is there a way to check how many boosts a user has on said server at once?)

frank knollBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

south pumiceBOT
#

The Discord API does not provide a dedicated event for guild boosts, but you can check for it in the guildMemberUpdate event:

client.on("guildMemberUpdate", (oldMember, newMember) => {
    // Check if the member wasn't boosting before, but is now.
    if (!oldMember.premiumSince && newMember.premiumSince) {
        // Member started boosting.
    }
});
rapid nest
#

@empty verge thanks. any way to check multiple boosts?