Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
/ chatgpt-whatsapp Public archive

A WhatsApp bot that can respond to messages with ChatGPT API

Notifications You must be signed in to change notification settings

Andndre/chatgpt-whatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT-Whatsapp

A WhatsApp bot that can respond to messages with the ChatGPT API 🔥

Powered by this repo

Getting Started

  • Clone this repository
  • Run npm install
  • Change .env.example to .env and add your open AI API key
     CHAT_GPT_API_KEY=
  • Run bot: use npm run start

How to Use the Bot

  • To activate the bot for current chat room / group (Only for other WhatsApp Account)
     /chatgpt on
    
  • To disable
     /chatgpt off
    
  • For WhatsApp Account that running the ChatGpt Bot, you can prefix /chatgpt before your message
     /chatgpt 1 + 1 equals what?
    

Known Issues

  • You must keep the terminal window to stay focused for the bot to respond to messages

About

A WhatsApp bot that can respond to messages with ChatGPT API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published