2023-05-28 20:20:00 -06:00
|
|
|
# HimBot
|
|
|
|
|
2023-12-27 10:56:52 -07:00
|
|
|
A discord bot written in Go.
|
2023-05-28 20:20:00 -06:00
|
|
|
|
|
|
|
## It's dangerous to go alone! Take this!
|
|
|
|
|
2024-10-22 21:55:24 -06:00
|
|
|
- Install Go 1.23.2 or higher (required)
|
2023-05-28 20:20:00 -06:00
|
|
|
|
|
|
|
## 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
|
2023-12-27 10:56:52 -07:00
|
|
|
- Run `go run main.go` to run locally
|
2023-05-28 20:20:00 -06:00
|
|
|
|
|
|
|
## 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
|