A simple Discord bot that connects to a Roblox game.
ServerShare is licensed under the GNU GPL v2 license. View it here.
ServerShare is not designed for usage in script builders.
If you see ServerShare running in a script builder, it is most likely with a custom loader and package.
You need luvit installed. To install luvit, you need go to the official website right here.
After you installed luvit, you need to install all deps. Open the folder where is your ServerShare located, and run lit install SinisterRectus/discordia
.
After you installed all deps required, now you need configure your settings.json
. Here is the example of settings.json
:
{
"token": "EXAMPLE.DISCORD.TOKEN", // Discord token here.
"prefix": ";", // Your prefix here.
"splitkey": "/", // Split key. Example: ;commands/2
"ownerId": "yourdiscordidhere", // Your discord ID here.
"appOnlyRoleId": "applicationmodroleidhere", // Application Mod Role ID here. Required, or you cant add/remove mods.
"gameModRoleId": "gamemoderatorroleidhere", // Game Moderator Role ID here. Required, or you can't ban, kick etc.
"gameDevId": "gamedeveloperidhere", // Game Developer Role ID here. Not required.
"server": { // Required, or roblox game will not connect to the bot.
"name": "server",
"connectionkey": "connectionkey"
}
}
// Please, remove any comments, or JSON file will not work!