|
TobyG74 |
Nugraizy |
- Chisato is a WhatsApp bot with various functions
- There are various features available on Chisato BOT
- ChisatoBOT has a beautiful terminal logger
What is needed to run this project :
- GIT
- NodeJS version 16+
- FFMPEG
- WEBP
- You need the OCR Space API KEY to run the OCR feature
If you have problems, you can open an issue or join the community to ask questions about it
- Create a Mongodb Database. You can use MongoDB Atlas or use a local database
- Get your Mongodb connection string. Example :
mongodb+srv://username:[email protected]/myFirstDatabase?retryWrites=true&w=majority - Replace
username,password, andmyFirstDatabasewith your database credentials - Copy the connection string, and paste it into the
DATABASE_URLin your.envfile
DATABASE_URL=
DASHBOARD_PORT=3000
JWT_SECRET=
PROXY=
OCR_APIKEY=
- Edit your .env file
- Rename
.env.exampleto.env
For Windows:
.\install.ps1For Linux/macOS:
chmod +x install.sh
./install.shThe installer will automatically:
- Check all prerequisites (Git, Node.js, FFmpeg)
- Install npm dependencies
- Setup environment variables
- Configure Prisma and database
- Build the TypeScript project
git clone https://github.com/TobyG74/ChisatoBOT
cd ChisatoBOT
npm install
npx prisma db push
npm run build
- Run with PM2
npm run pm2:start
- Without PM2
npm start
- You can access the dashboard at
http://localhost:3000(if you use another port, adjust accordingly) - First you need to register your account by chatting with the bot and using the command
.adminpanel(make sure your number is in the owner or team number in the config.json) - After registering, you can log in to the dashboard
Configuration File config.json
ownerNotifyOnlineto send a message to the Owner whenever the Bot is OnlineuseLimitfor limit configuration, iftruethen every time the command will use the limituseCooldownfor cooldown configuration, iftruethen every time the command will use the cooldownselfbotto make the bot only respond to the owner's numberautoReadMessageto make the bot automatically read messagesautoReadStatusto make the bot automatically read status updatesautoCorrectfor correcting wrong commands
{
"ownerNumber": ["YOUR_NUMBER_HERE"],
"teamNumber": [],
"timeZone": "Asia/Jakarta",
"prefix": ".",
"maintenance": [],
"stickers": {
"author": "Instagram : ini.tobz",
"packname": "Made by ChisatoBOT"
},
"settings": {
"ownerNotifyOnline": false,
"useLimit": false,
"useCooldown": false,
"selfbot": false,
"autoReadMessage": false,
"autoReadStatus": false,
"autoCorrect": true
},
"call": {
"status": "reject"
},
"limit": {
"command": 30
},
"cfonts": {
"font": "block",
"align": "center",
"colors": [
"green",
"yellow"
],
"background": "transparent",
"letterSpacing": 0,
"lineHeight": 0,
"space": true,
"maxLength": "0",
"gradient": false,
"independentGradient": false,
"transitionGradient": false,
"env": "node"
}
}- Command configuration that you can use
type ConfigCommands = {
name: string;
alias: string[];
usage?: string;
category: string;
description: string;
cooldown?: number; // in seconds
limit?: number;
example?: string;
isOwner?: boolean;
isTeam?: boolean;
isPrivate?: boolean;
isPremium?: boolean;
isGroup?: boolean;
isGroupAdmin?: boolean;
isGroupOwner?: boolean;
isBotAdmin?: boolean;
run: (args: CommandsObject) => unknown;
};- To change the command to maintenance status, just type :
.commandname -m - To change it again, type the same command
- Special thanks to the bot community below who helped develop ChisatoBOT
|
Arugaz |
Zennn08 (Aqul) |
||
|
MRHRTZ |
Mhankbarbar |
ItzNgga |
xbnfz01 |
|
Faiz Bastomi |
Alphanum404 |
DutaKey |
- Special Thanks for My Teams
|
Hidden-Finder |
BOTWEA |