A discord bot written in Golang
Find a file
2024-10-22 09:49:52 -06:00
.github/workflows Fly guys 2024-10-20 22:45:16 -06:00
command Added an optional param 2024-10-22 09:49:52 -06:00
lib Dockerify 2024-05-15 10:02:42 -06:00
.dockerignore Fly guys 2024-10-20 22:45:16 -06:00
.env.example Fly guys 2024-10-20 22:45:16 -06:00
.gitignore Finished! 2023-12-27 10:52:24 -07:00
docker-compose.dev.yml Fly guys 2024-10-20 22:45:16 -06:00
Dockerfile Welp guess I need CA certs 2024-10-21 22:12:57 -06:00
fly.toml Welp guess I need CA certs 2024-10-21 22:12:57 -06:00
go.mod Moved to discordgo 2024-10-21 23:50:17 -06:00
go.sum Moved to discordgo 2024-10-21 23:50:17 -06:00
main.go Added an optional param 2024-10-22 09:49:52 -06:00
README.md Remove OpenAI 2024-01-10 00:35:23 -07:00

HimBot

A discord bot written in Go.

It's dangerous to go alone! Take this!

  • Install Go 1.21.5 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
  • Generate and provide an Replicate token and paste it in the .env for REPLICATE_API_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