suvo_/ImglyBotPublic · Bot Template

AIThis bot searches images through a Pinterest-related HTTP API and delivers results in private chats, inline mode, and guest business queries, with a search-more inline button and copy URL action. It tracks referrals from /start links, records referrer counts and lists, and displays referral benefits. The bot also handles business sticker messages by matching emoji and replying with a random sticker from the same set, asks users for feedback after feature usage, and includes an admin-only broadcast system plus a token-based clone-bot request flow.

Utilityimage-searchpinterestinline-modereferralbroadcastclone-bot
ProfileTelegram
27 commands3 envUpdated 2d agoCreated Jul 2, 2026
Back to folder

commands/on_br_done.js

javascript · 34 lines

Raw
1/**#command2name: on_br_done3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12const d = options;13 14const text =15`📢 <b>Broadcast Completed</b>16 17📊 <b>Results</b>18 19👥 Total Users: <b>${d.total_chats}</b>20⚙️ Processed: <b>${d.processed_count}</b>21✅ Successful: <b>${d.success_count}</b>22❌ Failed: <b>${d.fail_count}</b>23🗑 Pruned: <b>${d.pruned_count}</b>24 25📦 Batches: <b>${d.completed_batches}/${d.total_batches}</b>26📌 Status: <b>${d.status}</b>27 28✨ Broadcast delivery finished successfully.`;29 30Api.sendMessage({31  chat_id: d.runner_user_id,32  text: text,33  parse_mode: "HTML"34});