Shit Discord bot
Find a file
2024-02-26 10:08:13 +01: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 Use our own settings file instead of using godotenv 2024-01-21 15:32:50 +01:00
docker-compose.yml Add logo to README 2024-01-22 20:15:28 +01:00
Dockerfile Update golang Docker tag to v1.22 2024-02-07 07:09:05 +00:00
go.mod Update module github.com/sashabaranov/go-openai to v1.20.0 2024-02-22 11:14:57 +00:00
go.sum Go mod tidy 2024-02-26 09:10:57 +01:00
LICENSE Initial commit 2024-01-21 13:25:35 +01:00
main.go Update probability of replying to a message from 1/10 to 1/100 2024-01-26 16:45:24 +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 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