This project is a Discord bot built with Go, designed to ticket & bug management on Discord. It leverages the DiscordGo library to interact with the Discord API, providing a range of features from message handling to dynamic interaction creation.
- This project is currently under development and is not yet in the maintenance phase.
- This is my first Go project, so it may contain unexpected errors and memory leaks.
- Environment Variable Configuration: Leverages a
.env
file for easy configuration of bot token, server IDs, and role management.
To get started with this Discord bot, follow the steps below:
-
Clone the Repository
git clone https://github.com/Aik-10/go-discordbot.git cd go-discordbot
-
Set Up Environment Variables
Copy the .env.example file to a new file named .env and fill in the necessary details such as your Discord bot token and server IDs.
cp .env.example .env
-
Build the Bot
Use the provided GitHub Actions workflow or run the following command:
go build -v ./cmd/discordbot/main.go
-
Run the Bot
After building, you can start the bot by running:
./discordbot
Contributions are welcome! Feel free to open issues or submit pull requests to help improve the bot.