Assalamu Alaikum! GoatBot-Pro is an enhanced fork of Goat Bot V2 by ntkhang03, rebuilt and maintained by EryXenX (Mohammad Akash) with new features, multi-language support, and custom commands.
| Feature | Description |
|---|---|
| 🔌 Custom FCA | Uses fca-eryxenx — patched fork with bug fixes and stability improvements |
| ⚙️ Handler Improvements | No-prefix system for bot admins, smart command suggestion |
| 🌐 Multi-Language | Supports EN, BN, HI, TL, AR, VI |
| 🎨 UI Overhaul | Redesigned message templates with clean formatting |
| 🛡️ React Unsend | Auto-unsend messages on specific emoji reactions |
| 🔧 Setting Command | Full bot config control via chat — no need to edit files manually |
⚠️ For educational purposes only. Any misuse or illegal activity is solely the user's responsibility.
| Role | Person | Link |
|---|---|---|
| 🏆 Original Creator | NTKhang | Goat Bot V2 |
| 🔧 This Fork | EryXenX | GoatBot-Pro |
All core copyright belongs to NTKhang (ntkhang03). This fork does not override the original license.
git clone https://github.com/EryXenX/GoatBot-Pro.git
cd GoatBot-Pro
npm install
node index.jsAdd your Facebook cookies to account.txt (JSON array format from EditThisCookie), then configure config.json.
Commands go in scripts/cmds/yourcommand.js.
module.exports = {
config: {
name: "commandname",
version: "1.0.0",
author: "YourName",
countDown: 5,
role: 0,
shortDescription: "...",
longDescription: "...",
category: "fun",
guide: "{prefix}commandname [args]"
},
onStart: async function ({ api, event, args, message, getLang }) {
message.reply("Hello!");
},
onReply: async function ({ api, event, Reply, message }) {
if (event.senderID !== Reply.author) return;
message.reply(`You replied: ${event.body}`);
},
onReaction: async function ({ api, event, Reaction, message }) {
message.reply(`You reacted with: ${event.reaction}`);
},
onChat: async function ({ api, event, message }) {
if (event.body === "hello") message.reply("hi!");
},
onEvent: async function ({ api, event, message }) {
if (event.logMessageType === "log:subscribe") {
message.reply("Welcome!");
}
}
};| Value | Who can use |
|---|---|
0 |
Everyone |
1 |
Group admins only |
2 |
Bot admins only (set in config.json) |
message.reply("text")
api.sendMessage("text", threadID)
api.sendMessage({ body: "text", attachment }, tid)
api.setMessageReaction("✅", event.messageID, () => {}, true)
api.unsendMessage(messageID)
api.getCurrentUserID()
await api.getThreadInfo(threadID)
await api.getUserInfo(userID)const sent = await message.reply("What's your name?");
global.GoatBot.onReply.set(sent.messageID, {
commandName: "mycommand",
messageID: sent.messageID,
author: event.senderID,
step: 1
});
onReply: async function ({ api, event, Reply, message }) {
if (event.senderID !== Reply.author) return;
message.reply(`Hello, ${event.body}!`);
}switch (event.logMessageType) {
case "log:subscribe":
case "log:unsubscribe":
case "log:thread-name":
case "log:thread-image":
case "log:thread-admins":
}{
"prefix": "-",
"adminBot": ["your_facebook_id"],
"noPrefix": { "enable": false },
"reactUnsend": {
"enable": true,
"onlyAdmin": true,
"emojis": ["😡"]
},
"optionsFca": {
"listenEvents": true,
"autoMarkDelivery": false,
"updatePresence": false,
"selfListen": false,
"autoReconnect": true
}
}Original Work © NTKhang (ntkhang03) | Fork by EryXenX (Mohammad Akash)