/facebook-bot-chatgpt

ChatGPT bot in Facebook Messenger

Primary LanguageJavaScriptMIT LicenseMIT

facebook-bot-chatgpt

Table of Contents

  1. Installation
  2. Setup
  3. Usage
  4. Screenshots

Installation

clone the repository

$ git clone https://github.com/XaviaTeam/facebook-bot-chatgpt.git

install dependencies

$ npm install

Setup

Open .env.example, add your appstate (base64) using c3c-fbstate, openaikey, and change prefix to your liking, then save it as .env

$ mv .env.example .env

Usage

$ npm start

Screenshots

Ai command

screenshot1

Image generator

screenshot1