stark91611/GAMA_EXPERT_BOTPublic · Bot Template

ProfileTelegram

AIThis Telegram bot offers multiple utility features including Instagram media downloading, random quote generation, AI-driven chat responses, and Pinterest image searching. It also features channel join verification, automated reaction handlers, and comprehensive administrative tools such as broadcasting and role management.

Utilityinstagramdownloaderaipinterestbroadcastadmin
15 commands0 envUpdated 24d agoCreated Sep 22, 2026
Back to folder

commands/_quote.js

javascript · 31 lines

Raw
1/**#command2name: /quote3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12let api_url = "https://zenquotes.io/api/random";13let response = await HTTP.get(api_url);14 15if (response.status === 200 && response.data) {16  let data = response.data;17  let quote = data[0].q;18  let author = data[0].a;19 20  // coded by @HEL0_BHAI21  let message_text = `*❝ ${quote} ❞*22 23— *${author}*`;24 25  msg.reply(message_text, { parse_mode: "Markdown" });26} else {27  msg.reply(28    "❌ Failed to fetch a quote. Please try again later.",29    { parse_mode: "Markdown" }30  );31}