Complete guide for the manybot.conf file.
# Comments start with '#'
CLIENT_ID=bot_permanente
CMD_PREFIX=!
LANGUAGE=en
CHATS=[]
PLUGINS=[]Unique identifier for the bot session.
CLIENT_ID=my_bot- Default:
bot_permanente - Usage: Creates a
session/folder with this name to store authentication data
Character that indicates the start of a command.
CMD_PREFIX=!- Default:
! - Example: With prefix
!, the command is!sticker. With., it would be.sticker.
Bot message language.
LANGUAGE=en- Default:
en(English) - Options:
en(English),pt(Portuguese),es(Spanish) - Note: If the selected language doesn't exist, the bot will fall back to English
List of chat IDs where the bot will respond.
CHATS=[
123456789@c.us, # Private chat
123456789@g.us # Group
]- Default:
[](empty = responds to all) - Format:
- Private:
NUMBER@c.us - Group:
NUMBER@g.us
- Private:
node src/utils/get_id.jsScan the QR Code and send a message in the chat. The ID will appear in the terminal.
Note: The utility uses a separate
CLIENT_IDto avoid conflicting with the main session.
List of plugins to be loaded.
PLUGINS=[
video,
audio,
sticker,
guess,
hangman,
many,
thanks
]- Default:
[](none) - Each name corresponds to a folder in
src/plugins/ - Remove or comment to disable without deleting
You can add your own variables for plugins:
# manybot.conf
MY_PREFIX=>
API_KEY=my_keyAnd access in the plugin code:
import { MY_PREFIX, API_KEY } from "../../config.js";# ManyBot Configuration
CLIENT_ID=my_bot_prod
CMD_PREFIX=/
LANGUAGE=en
CHATS=[
5511999999999@c.us,
5511888888888-123456789@g.us
]
PLUGINS=[
sticker,
video,
audio,
many
]
# Extra settings
ADMIN_NUMBER=5511999999999@c.us