Promoting Bot (Compatible with discord)

I know this is not Lua related.

I was wondering if their is a way to make a promoter bot that can link to a discord group, for example: If you were to play a game for a certain amount of time you would automatically rank up in the group on Roblox and discord.

You would need a web server for this.

Roblox game sends request to web server.
Web server updates rank and sends a cURL request to Discord to give the user a role.

Okwo may be useful for this.

The easiest way would probably be to set up a Node.js server and use the "roblox-js " npm module made by roblox user Froast. It provides multiple functions to perform actions on the site, most of which are group actions.

This module is unsupported and shouldn’t be used.

Try bloxy or noblox.js. They work as perfectly fine alternatives.