Ahosall / WaBOT

A simple structure for a WhatsApp bot using the Baileys library from WhiskeySockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WhatsApp BOT

Installation and initial settings.

Before starting to use the bot, install the necessary dependencies...

$ npm install
# or
$ yarn

After installation, create an .env file in the root of the project, with the following information.

PREFIX=<prefix>

OPENAI_API_KEY=<your-apikey>

STK_PACK_ID=<link>
STK_PACK_NAME=<pack-name>
STK_PACK_PUBLISHER=<pack-publisher>

Note


Go to this [link] to get the Open AI api key.

How to start and use

Para iniciar o bot em modo de produção ...

$ npm start
# or
$ yarn start

para iniciar em modo de desenvolvimento.

$ npm run dev
# or
$ yarn dev

Para ver os seus comandos, use <prefix>?.


Made with 🤍 by Feh's!!!

About

A simple structure for a WhatsApp bot using the Baileys library from WhiskeySockets.

License:MIT License


Languages

Language:TypeScript 100.0%