Installation

Step 1: Install Go

First, you need to install Go by following the instructions on the official Go installation page.

Step 2: Download the Ephemeral Roles Bot

Next, download the Ephemeral Roles bot by cloning the repository from GitHub:

  • Repository URL: https://github.com/ewohltman/ephemeral-roles

Step 3: Create a Batch File

After downloading the bot, create a new batch file (.bat) in the folder where the bot is located. You can name the file anything you like, as long as it has a .bat extension.

Step 4: Edit the Batch File

Right-click on the newly created batch file and select Edit. Add the following code, replacing the placeholder values with your bot's information:

SET BOT_TOKEN=YOUR_BOT_TOKEN_WITHOUT_QUOTES
SET DISCORDRUS_WEBHOOK_URL=YOUR_WEBHOOK_URL_WITHOUT_QUOTES

go run cmd\ephemeral-roles\ephemeral-roles.go

Example Batch File:

SET BOT_TOKEN=OTM3ODg3OTc3ODQ4MzA3NzEz.GifDeN.ILIEP8v-e6HWHq_VGzRrlwBbQys8ag03qLA1TY
SET DISCORDRUS_WEBHOOK_URL=https://discord.com/api/webhooks/938251375337439252/Xz4TK3qNFYIHs6LjMaFR2ILN28Kucl8bXz-Z0iT-Kh5haLblBz5BgM7LDVKPm7FXOWme

go run cmd\ephemeral-roles\ephemeral-roles.go

Step 5: Run the Batch File

Finally, run the batch file you created. This will start the bot with the specified configuration.

Last updated