A WhatsApp Bot Built on Top of Baileys
Work in progress. More features and commands will be added soon
- 💖 Object Oriented
- 💙 Written in TypeScript
- 💛 Event-Based
- 💚 Express Contorl Panel
- 💜 Self-Resoting Auth
- 💝 Built with Baileys (The Best WhatsApp Library Out There)
- Sticker ~ Create stickers or animated stickers, hassle free and smoothly.
- Group Utils ~ Can promote demote and remove members in the group.
- Anime ~ Get Anime information and data by either name or aid.
- Manga ~ Get Manga information and data by either name or mid.
- Character ~ Get Character information and data by either name or chid.
- Many are on their way brr brr....
Make sure you have the following softwares installed
- Git
- Node.JS
- WebP
- FFMpeg
- ImageMagick (Make sure to enable the
legacy functions
while installing)
Clone the repo and install the npm packages after installing these
> git clone https://github.com/SomnathDas/Whatsapp-Botto-Xre
> cd Whatsapp-Botto-Xre
> npm i && npm i -D
Edit the
config.json
according to your needs
{
"name": "Xre",
"prefix": "!",
"admins": []
}
name
The name of the Bot
prefix
The Prefix of the Bot
admins
The JIDs of the users who you want to the Admins/Mods for the bot
Create a file called
.env
In the created .env
and make sure to add every fields wrriten below
MONGO_URI=YOUR_MONGODB_CONNECTION_URI
MONGO_URI
is the connection URI for the Database
Run npm run build
and the Compiled JS files, Decleration Files, Maps and Declaration Maps with their folder will appear in the dist
folder
npm start
Running the above command will start the bot. To authenticate scan the QR which shows up in the terminal or the link which is logged when the QR event fires using the WA-Web Scanner on your WhatsApp. Now you're on your own. Good Luck!
- Feel free to open issues regarding any problems or if you have any feature requests
- Please do follow the code strurcture while editing the files for PRs