Hi, I am hiring a Discord.Js developer who can make it that a user links his roblox account through a discord bot. And a command called !whitelist @user ProductID and !unwhitelist @user ProductID . Whitelist adds a user to the database (a .json file) with he product id, unwhitelist removes them with the product id. Lastly, there should be an API endpoint that I can use through a roblox game to see if they are in the json file with a certain product id.
Example:
When a user links, and table in the json file is made like this:
{username=“”, discordid=“”, robloxid=“”, {ownedproducts:}
When I run !whitelist @user hi it does:
{username=“”, discordid=“”, robloxid=“”, {ownedproducts: “hi”}
Then an API endpoint like:
app.com/ENDPOINT/userid/productid
and checks if they are in the json file with the product id.
CLOSED