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/_unban_prompt.js
javascript · 20 lines
1/**#command2name: /unban_prompt3answer: 4keyboard: 5parse_mode: html6aliases: unban_prompt7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12/* Command: /unban_prompt */13if (!(await authUtils.adminOnly())) return;14await Api.sendMessage({15 chat_id:chat.id,16 text:"✅ <b>Unban User</b>\n\nSend the Telegram user ID to restore access.",17 parse_mode:"HTML",18 reply_markup:{inline_keyboard:[[authUtils.btn("✕ Cancel","admin_menu","danger")]]}19});20await Bot.runCommand("/unban_input");