manafzz147/shenskyxfreegacha_botPublic · Bot Template
AIBot presents a numbered service menu for WhatsApp and Facebook with country selection through inline keyboards. It handles callback queries to edit the menu message, includes a /testreply debug command that reports whether the current message is a reply, and provides an /add command that parses service and country arguments and accepts phone numbers from a replied message or extra arguments. The flow is command-based and uses TeleBotHost built-ins like Api and Bot.
Utilitywhatsappfacebookinline-keyboardcallback-queryadd-numbersri-lanka
4 commands0 envUpdated 1d agoCreated Sep 3, 2026
commands/_testreply.js
javascript · 20 lines
1/**#command2name: /testreply3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12let hasReply = message.reply_to_message ? "YES" : "NO";13let replyText = message.reply_to_message ? message.reply_to_message.text : "NO REPLY";14 15Bot.sendMessage(16 "🔍 *DEBUG REPLY*\\n\\n" +17 "Has reply: `" + hasReply + "`\\n" +18 "Reply text: `" + (replyText || "kosong") + "`",19 { parse_mode: "Markdown" }20);