Discord Integration
Last updated
Last updated
To enable this module, we need to modify the config and enter the ID of our Discord server.
After this, we need to create a bot and insert it into our Discord server. We can follow these steps:
Go to the and create a new application.
Give your application a name, and then go to the "Bot" section and click "Add Bot".
Customize your bot's settings, such as its name and profile picture.
Under the "Token" section, click "Copy" to copy your bot's token. Be sure to keep this token secure, as it will be used to authenticate your bot.
Go to the "OAuth2" section of your application settings and select the "bot" scope.
Select the appropriate bot permissions, and then copy the generated OAuth2 URL.
Paste the URL into your browser and select the server you want to add the bot to.
Authorize the bot to join the server by following the prompts in your browser.
The bot should now be added to your Discord server. You can confirm this by checking the list of members on the server.
Once the bot is added to our server, we need to copy its token and insert it into gcm_vips/server/editablesv.lua
.
Keep in mind that the bot needs to have the necessary permissions to modify roles and be above all the roles that it will be modifying.