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/_help.js
javascript · 41 lines
1/**#command2name: /help3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12/* Command: /help */13if (!(await authUtils.userGate())) return;14 15const text =16 "📖 <b>AuthKey Help</b>\n\n" +17 "<b>Account management</b>\n" +18 "• /mykeys — list all saved accounts\n" +19 "• /view — list accounts and select one\n" +20 "• /view 2 — show the current OTP for account 2\n" +21 "• /delete 2 — delete account 2\n" +22 "• /addkey — add an authenticator account\n" +23 "• During import, choose your own account name\n\n" +24 "<b>Import methods</b>\n" +25 "• Secret key — paste a Base32 TOTP secret\n" +26 "• QR code — send an authenticator QR image\n" +27 "• otpauth:// URI — accepted directly as a secret input\n\n" +28 "<b>OTP</b>\n" +29 "• Codes are generated on demand.\n" +30 "• Tap <b>🔄 Refresh</b> to get the current code again.\n" +31 "• The bot does not continuously edit the OTP.\n\n" +32 "<b>Navigation</b>\n" +33 "• /start — main menu\n" +34 "• /support — support options\n" +35 "• /about — service information\n\n" +36 "<i>Only use authenticator secrets you are authorized to manage.</i>";37 38await authUtils.renderMedia(text, [39 [authUtils.btn("➕ Add Key", "add_key", "success"), authUtils.btn("🔐 My Keys", "my_keys", "primary")],40 [authUtils.btn("⬅️ Main Menu", "start"), authUtils.btn("✕ Close", "close", "danger")]41], "key_image");