2.3 KiB
2.3 KiB
Installation
Complete installation guide for ManyBot on different platforms.
Index
Linux
1. Clone the repository
git clone https://github.com/synt-xerror/manybot
cd manybot
2. Configure the bot
Create the configuration file:
touch manybot.conf
nano manybot.conf
Example configuration:
# Comments with '#'
CLIENT_ID=bot_permanente
CMD_PREFIX=!
LANGUAGE=en
CHATS=[
123456789@c.us,
123456789@g.us
]
PLUGINS=[
video,
audio,
sticker,
guess
]
Details:
CLIENT_ID: Session ID (default:bot_permanente)CMD_PREFIX: Command prefix (default:!)LANGUAGE: Bot language -pt,en, ores(default:en)CHATS: Allowed chat IDs (leave empty for all)PLUGINS: List of active plugins
3. Run installation
bash ./setup
4. First run
node ./src/main.js
Scan the QR Code in WhatsApp:
Menu → Linked Devices → Link a Device
Windows
ManyBot was designed for Linux, but works on Windows via Git Bash.
Prerequisites
- Git Bash: https://git-scm.com/download/win
- Node.js: https://nodejs.org (choose "Windows Installer (.msi)")
Installation
After installing both, open Git Bash and follow the same steps as the Linux installation.
Termux (Android)
⚠️ Warning: Experimental support. No guarantee of functionality.
# Install Termux from F-Droid (don't use Play Store)
# https://f-droid.org/packages/com.termux/
# Update packages
pkg update && pkg upgrade
# Install dependencies
pkg install nodejs git
# Clone and install
git clone https://github.com/synt-xerror/manybot
cd manybot
Follow the Linux configuration steps from step 2.
Troubleshooting
QR Code scanning error
- Clear Chrome/Chromium data from Termux
- Delete the
session/folder and try again
Bot not responding to commands
- Check
CMD_PREFIXinmanybot.conf - Make sure the plugin is in the
PLUGINSlist
Installation errors
# Clean npm cache
npm cache clean --force
# Reinstall dependencies
rm -rf node_modules package-lock.json
npm install