bot-discord-chatai

bot-discord

A simple discord bot integration with CHATGPT

  • Keeps context of conversations per user
  • Command to reset conversation context

Technologies

Install

1. Install and start

1.1 First time, up containers and install dependencies and create .env

  make

1.2 Only start

  make up

2. Set Discord token

https://discord.com/developers/applications

Set the value in the environment variable DISCORD_TOKEN in .env

3. Set ChatGpt API key

https://beta.openai.com/account/api-keys

Set the value in the environment variable CHATGPT_TOKEN in .env

4. Invite the bot to your server

https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&permissions=1024&scope=bot

Author

Show your support

Give a ⭐️ if this project helped you!