In this project I used DiscordJs and chatgpt.
You can ask anything with /ask 'question'
command.
Now it can continue conversation in direct messages! 🎉
You can restart conversation by sending "restart" message to bot.
Firstly, you should rename ".env.example" file to ".env". After that you should fill it correctly. When you fill it, you can start it with two ways.
npm install
npm start
docker build -t discordchatgpt .
docker run discordchatgpt