Chat bots powered by OpenAI's GPT API.
- Discord
- Telegram
- Slack
To build this project, you need to install Go and Make.
make -f makefile build-all
make -f makefile cross-build-all
cp configs/discord-bot.example.yml configs/discord-bot.yml
vi configs/discord-bot.yml
You also can set token via environment variable alternatively.
export CHATBOT_GPT_DISCORD_TOKEN=token
export CHATBOT_GPT_OPENAI_TOKEN=token
- macOS with Apple Silicon Chip
./bin/discord-bot/discord-bot_darwin_arm64 --config=configs/discord-bot.yml
Otherwise, you need to find the binary file in the bin
directory,
and specify the configuration file.