Shit Discord bot
Find a file
2024-02-28 12:57:43 +00:00
.github Don't build new Docker image daily 2024-02-26 10:08:13 +01:00
.vscode LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
.gitignore Load Docker compose env vars from .env 2024-02-26 10:08:53 +01:00
docker-compose.yml Load Docker compose env vars from .env 2024-02-26 10:08:53 +01:00
Dockerfile Use scratch Docker image to minimize size 2024-02-26 10:09:18 +01:00
go.mod Update module github.com/sashabaranov/go-openai to v1.20.2 2024-02-28 12:57:43 +00:00
go.sum Update module github.com/sashabaranov/go-openai to v1.20.2 2024-02-28 12:57:43 +00:00
LICENSE Initial commit 2024-01-21 13:25:35 +01:00
main.go Refactor code, remove commands and use guild commands instead of global 2024-02-26 10:09:46 +01:00
main_test.go Don't run test if in CI 2024-01-21 21:18:33 +01:00
openai.go Refactor code, remove commands and use guild commands instead of global 2024-02-26 10:09:46 +01:00
README.md Add logo to README 2024-01-22 20:15:28 +01:00
settings.go LoviBot can now answer questions 2024-01-22 19:49:09 +01:00
settings_test.go Fix test 2024-01-22 20:10:29 +01:00

ANewDawn

A New Dawn

A shit Discord bot.

Settings file

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

{
  "discord_token": "your-bot-token-here",
  "openai_token": "open-ai-token"
}

Environment variables

Variable Description
DISCORD_TOKEN Discord bot token
OPENAI_TOKEN OpenAI token