◈ What is GoatBot-Pro?

GoatBot-Pro is a Facebook Messenger bot — once it's running, it logs into a Facebook account and listens in your chats/groups for commands. Anyone in the chat can type a command (like -help) and the bot replies instantly, right inside Messenger.

  • 🌐 Multi-language support — EN, BN, HI, TL, AR, VI
  • ⚙️ No-prefix mode for admins — bot admins can trigger commands without typing the prefix
  • 🛡️ Auto-unsend — messages get auto-deleted when reacted with a specific emoji
  • 🔧 In-chat settings — change bot config by chatting with it, no file editing needed
  • 🎨 Clean, redesigned message formatting

◈ How to Host / Run It

1

Step 1 — Get the code

bash
git clone https://github.com/EryXenX/GoatBot-Pro.git
cd GoatBot-Pro
npm install
2

Step 2 — Log the bot in

Export your Facebook cookies (JSON array format, using the EditThisCookie browser extension) and paste them into account.txt at the project root. This is the login session the bot uses — without it, the bot can't connect to Facebook at all.
3

Step 3 — Set yourself as admin

Open config.json and add your Facebook UID under adminBot. This makes you the bot's owner — only you (and anyone else you add) can use admin-only commands and change settings from chat.
4

Step 4 — Start it

bash
node index.js

If everything's correct, the bot logs in and starts listening in Messenger right away.

5

Step 5 — Keep it running

Deploy on Railway or a VPS — both work fine. On a VPS, run it under a process manager (pm2 start index.js, screen, or tmux) so it stays online after you close the terminal.
Heads up
Render does not work — its free tier spins down/sleeps and isn't compatible with the bot's always-on connection and local session files. Stick to Railway or a VPS.

◈ Using the Bot Day-to-Day

Once it's live, just chat with it like a normal contact/group member:

  • Type {prefix}help to see the full list of available commands
  • Every command has a small built-in cooldown and a natural typing delay before it replies, so it doesn't feel spammy
  • You (as admin) can type {prefix}setting anytime to change the bot's config — like turning encrypted-message support on/off — directly from chat, no need to touch files or restart manually for most options

◈ Note

Heads up
For educational purposes only. Any misuse or illegal activity is solely the user's responsibility.