Shit Discord bot
Find a file
2024-01-22 19:51:02 +01:00
.github Add OPENAI_TOKEN to GitHub workflow 2024-01-22 19:51:02 +01:00
.vscode LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
.gitignore Use our own settings file instead of using godotenv 2024-01-21 15:32:50 +01:00
docker-compose.yml Update docker-compose.yml 2024-01-21 22:44:25 +01:00
Dockerfile Refactor Dockerfile: Don't run go test 2024-01-21 21:21:21 +01:00
go.mod LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
go.sum LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
LICENSE Initial commit 2024-01-21 13:25:35 +01:00
main.go LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
main_test.go Don't run test if in CI 2024-01-21 21:18:33 +01:00
openai.go LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
README.md Update README.md 2024-01-21 22:44:14 +01:00
settings.go LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
settings_test.go Add tests 2024-01-21 21:00:23 +01:00

ANewDawn

Shit Discord bot

Settings file

Create a settings.json file or use the environment variables below

{
  "discord_token": "your-bot-token-here"
}

Environment variables

Variable Description Example
DISCORD_TOKEN Discord bot token MzQ2MDAwODAxNDk5ODk0Nzk1.XkK-7A.w18w6Z99c5DXi8ubbSNbj32lMZo