In this project I used DiscordJs and chatgpt.
You can ask anything with /ask 'question'
command.\
Or you can generate images with /image 'prompt'
.
Now it can continue conversation in direct messages! 🎉
You can restart conversation by sending "restart" message to bot.
It uses reverse proxy now, known reverse proxies run by community members include: details : https://github.com/transitive-bullshit/chatgpt-api/blob/main/readme.md#reverse-proxy
Reverse Proxy URL | Author | Rate Limits | Last Checked |
---|---|---|---|
https://chat.duti.tech/api/conversation |
@acheong08 | 40 req/min by IP | 2/19/2023 |
https://gpt.pawan.krd/backend-api/conversation |
@PawanOsman | ? | 2/19/2023 |
Screenshots :
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