An OpenAI ChatGPT WhatsApp Bot, but uses Baileys.
This is based on navopw's, but because I want to put it on my low-specced VPS so I rewrote it to use Baileys instead of whatsapp-web.js (which needs full-fledged Chromium installed).
OPENAI_API_KEY
in .env
(See .env.example
)npm install
npm start
Simply send the message prefixed with !g
, like this:
!g What is Linux?
You can change the prefix by setting PREFIX_KEY
in the .env
.
This project is licensed under MIT. © 2023 Aldo Adirajasa Fathoni