A discord bot written in Golang
All checks were successful
Docker Deploy / build-and-push (push) Successful in 1m26s
|
||
---|---|---|
.github/workflows | ||
command | ||
lib | ||
migrations | ||
.dockerignore | ||
.env.example | ||
.gitignore | ||
docker-compose.dev.yml | ||
docker-compose.yml | ||
Dockerfile | ||
fly.toml | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
HimBot
A discord bot written in Go.
It's dangerous to go alone! Take this!
- Install Go 1.23.2 or higher (required)
Running Locally
- Copy .env.example and rename to .env
- Create a Discord Bot with all gateway permissions enabled
- Generate a token for this discord bot and paste it in the .env for DISCORD_TOKEN
- Run
go run main.go
to run locally
Adding the bot to a server
Use the following link (replacing DISCORD_CLIENT_ID with your own bot's client ID of course...) to add your bot: https://discord.com/oauth2/authorize?client_id=DISCORD_CLIENT_ID&scope=bot&permissions=8