golangを使ってChatGPTに問い合わせるDiscordボットを作成しました。
Created a Discord bot that queries ChatGPT using golang.
(Translated by DeepL)
GoLangで流行りのChatGPTさんとDiscordでやり取りできるようにしてみた!(未定)
git clone https://github.com/yukke23/ChatGopherGPT.git
cd ChatGopherGPT
echo -e "DISCORD_TOKEN={bot token}\n" > build/.secret_env
echo "OPENAI_API_KEY={api key}" >> build/.secret_env
docker-compose up -d --build
- Git
- Docker
- docker-compose
- OpenAI API
- Discord Bot