xseaqbka/Nawaab_RoBotPublic · Bot Template
AIThis Telegram bot acts as a TOTP authenticator: users can add accounts via Base32 secret, QR code, or otpauth:// URI, list saved keys, and generate current OTP codes on demand with refresh and delete options. It includes an admin panel with user ban/unban, paginated user management, required-channel management, and a broadcast system that sends text, image, or copied replied messages to all private chats. A web dashboard endpoint provides OTP generation and account management over HTTP. The bot also supports an on/off maintenance switch and per-user access gating.
Utilitytotpauthenticatorotp2fabroadcastadmin
59 commands1 envUpdated 10d agoCreated Aug 28, 2026
commands/_admin_menu.js
javascript · 22 lines
1/**#command2name: /admin_menu3answer: 4keyboard: 5parse_mode: html6aliases: admin_menu7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (!(await authUtils.isAdmin())) return;13 14await authUtils.render(15 "🛡️ <b>Admin Panel</b>\n\n" +16 "<code>/bd</code> — Broadcast by replying to a message\n" +17 "<code>/ban USER_ID</code> — Ban a user\n" +18 "<code>/unban USER_ID</code> — Unban a user\n" +19 "<code>/bot on</code> — Enable bot\n" +20 "<code>/bot off</code> — Disable bot",21 []22);