API/System to detect if someone has boosted your discord server or not

I would like to make/use a system to detect if someone has booosted my discord server or not for popsiz and then make it so they get some perks if they have, if anyone knows how to do this please let me know!

Regards,
intorsetorpolice1, Development Team
Popsiz Development Team

1 Like

I have this for my game and here’s what I do:

  1. Have a Discord bot in your server scanning every 30 minutes (or any interval tbh) for all members with the “Nitro Booster” role. The way my Discord is setup, everyone who is in the Discord server who is verified has there Roblox account stored in a database and I read from that, but you could simply just read the member.displayName property of anyone with the role assuming people in your server are verified with there roblox username.

  2. I have existing user profiles for an external database in my game, I simply just communicate with that from my discord bot and set a field named booster to true if they have the role.

  3. Whenever someone joins the game, I request to read from that external database. If the booster field is set to true, they get the nitro booster perks.

That’s basically it. I believe there used to be APIs to handle this for Roblox bot providers but I believe most of them are shut down now.

2 Likes

Ok, I am not 100% or sure how to do any of that but if you know any easier ways please let me know and if you need anything from let… let me know!

Also @sorify I joined your group :smile: .

2 Likes

You could do what @alphadoggy111 stated however this could be quite unreliable and is in general not really that good practice because there will be a delay and other problems could happen.

What I personally suggest is to something like “guildMemberUpdate” via Discord.js or if you wanna be advanced you could do it via the direct Discord API but it seems like ur new to this stuff so I recommend Discord.js. The reason why I recommend doing something like the guildMemberUpdate then checking every couple of minutes at the people who has the nitro booster role is because when someone boosts they get the role added and one of the features of the event “guildMemberUpdate” is that it fires when something changes to a guild member including when roles are added or removed so you can use this and use either an external database or you could use the new Roblox open cloud datastore API to add it to a Roblox datastore which may be more simple. Like what @alphadoggy111 it would be highly recommended you have a verification system for your Discord server as well so you know who Discord account is whos Roblox account.

In general if you don’t really understand how outside of studio things like web servers and stuff I don’t recommend doing this yourself but hiring someone else because it could get advanced.

I found this vid which might help you. Not 100% what you want but you could watch it and edit the code to what u want. I think this vid Discord.js is using V12 not V13 so it might not work 100% as shown in the video due to a newer version of Discord.js coming out.

2 Likes

Do you know anyone by any chance?

What do you mean by “anyone”? For what?

do you know anyone who can do this and make it so that when someone boosts while their boost is active they get a nametag icon in my game.

I could do this for you however I don’t currently do work for free.

If your interested at all fee free to send me a friend request on Discord: LifeDigger#4510

1 Like

Hello, if you can make something that detects users to boost and can add an icon to a script I already have, reply back and I can send you my dizzy. I will pay.

And or just a way to get the icon show up to users I add to the script.

I am not 100% sure what your saying/asking but very likely could so just send me a friend request on Discord and we can talk more there.

Discord Username: LifeDigger#4510

It’s against the TOS. You’re not allowed to give users anything from offsite purchases. Not even a icon.

1 Like

Might wanna flag this group then: Asdablox TM - Roblox

Their main game gives u perks for it.

Adding in-game rewards over real world currency is not allowed at all within Roblox. Nitro classifies as real world currency rewards, as it is still paid to Discord. If you’re caught giving server nitro boosters rewards in-game, you can get terminated for scamming. That’s why I told you. Let me check out their group.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.