ShahriarAbidbd/SmartifyXBotPublic · Bot Template

Do Tasks Smartly with SmartifyX 😎

Utilitydownloaderyoutubeinstagramfacebookspoilercontent-protection
ProfileTelegram
25 commands2 envUpdated 1d agoCreated Jul 28, 2026
Back to folder

commands/Admin Panel/_update_dl_api.js

javascript · 24 lines

Raw
1/**#command2name: /update_dl_api3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (!user.id == 7168234650) {13  return14}15 16if (!params) {17  Api.sendMessage({18    text: `Current DL API is: <blockquote expandable>${Bot.get("downloader_api")}</blockquote>\n\nIf you want to update this use:\n<code>/update_dl_api [Downloader API]</code>`,19    parse_mode: "html"20  })21} else {22  Bot.set("downloader_api", params)23  Bot.sendMessage(`New DL API Set Successfully ✅\nNew API is: <blockquote expandable>${Bot.get("downloader_api")}</blockquote>`,{parse_mode: "html"})24}