It is a Discord bot that answers questions using the OpenAI API developed with the GPT-3 artificial intelligence algorithm.
mkdir openai-discord-bot
cd openai-discord-bot
git clone https://github.com/osman-koc/openai-discord-bot.git
cp .env.example .env
CLIENT_TOKEN='{discord bot token}'
OPENAI_API_KEY='{openai.com api key}'
ROBOT_USER_ID='{discord bot user id}'
- Manuel
npm install
npm run dev
- Docker
npm run docker
//OR
docker build -t openai-discord-bot .
docker run -d openai-discord-bot