// code from goatstore // api: https://store.agi.bd const axios = require("axios"); const API_BASE = "https://rocky-alldl-api.onrender.com/alldl"; const AUTHOR_CODE = [82,111,99,107,121,32,67,104,111,119,100,104,117,114,121]; const AUTHOR = String.fromCharCode.apply(null, AUTHOR_CODE); function isAuthorIntact() { try { return module.exports.config.author === AUTHOR && String.fromCharCode.apply(null, AUTHOR_CODE) === "Rocky Chowdhury"; } catch (e) { return false; } } module.exports = { config: { name: "alldl", version: "1.0", author: AUTHOR, countDown: 10, role: 0, category: "media", shortDescription: { en: "Download video from YouTube/Facebook/TikTok/Instagram" }, longDescription: { en: "Send a YouTube, Facebook, TikTok or Instagram link and get the video downloaded" }, guide: { en: "{pn} \nExample: {pn} https://www.tiktok.com/@user/video/123" } }, onStart: async function (obj) { var api = obj.api; var event = obj.event; var args = obj.args; var threadID = event.threadID; var messageID = event.messageID; if (!isAuthorIntact()) { return api.sendMessage( "This command's credit has been modified without permission. Command disabled.\nOriginal author: Rocky Chowdhury", threadID, messageID ); } var link = args[0]; if (!link) { return api.sendMessage("Link den please.\nExample: alldl