Giter Club home page Giter Club logo

/------------------------------------------------------------------------------------------------------------------------------------------------------ Copyright (C) 2023 Loki - Xer. Licensed under the GPL-3.0 License; you may not use this file except in compliance with the License. Jarvis - Loki-Xer ------------------------------------------------------------------------------------------------------------------------------------------------------/

const { System, getBuffer, toAudio, } = require("../lib/");

const logo = 'https://i.imgur.com/42JWHXp.jpeg'; var audios = ["https://i.imgur.com/yYO6W4q.mp4", "https://i.imgur.com/BrMw2T1.mp4","https://i.imgur.com/wZ3DNfp.mp4","https://i.imgur.com/ijWcyO5.mp4","https://i.imgur.com/c7VZSbx.mp4","https://i.imgur.com/6eMLKnZ.mp4","https://i.imgur.com/gGEJgdi.mp4"];

System({ pattern: "mention", on: "all", allowBot: true, fromMe: 'public', desc: "mention audio", }, async (message, match) => {

const audio = audios[Math.floor(Math.random() * audios.length)] const Audio = await getBuffer(audio) const image2 = await getBuffer(logo) try { var res = await toAudio(Audio, 'mp4') } catch (b) { return await message.client.sendMessage(message.client.user.id, { text: Error on parsing audio \n ${b}\n\n${audio}\n\ndelete this url from audio list }) }

if(!message.mention.isOwner) return; try { return await message.client.sendMessage(message.jid, { audio: res, mimetype: 'audio/mpeg', ptt: true, waveform: [00,99,00,99,00,99,00], contextInfo: { externalAdReply: { title: "ᎧᎮ ᭄ ★Aʀʏᴀɴ ★࿐ ⚡", body: "🎀you are my happiness ankana🌸🍃", renderLargerThumbnail: false, // use true for larger thumbnail thumbnail: image2, mediaType: 1, mediaUrl: 'hhtps://www.instagram.com/i_aam_adi07', sourceUrl: "https://wa.me/+917318812338?text=_𝐇𝐞𝐥𝐥𝐨+Aryan+𝐬𝐢𝐫+✌🏻_", showAdAttribution: true, } }, }, { quoted:message }); } catch (e) { return await message.send(e); } });

// mention audio for Jarvis-md // credit : @Loki-Xer // Thanks to @inrl-official

ᎧᎮ ᭄ ★Aʀʏᴀɴ ★࿐'s Projects

aryan-op icon aryan-op

Jarvis-md - Simple whatsapp Multi Device bot based on X-Asena

guru-bot icon guru-bot

A SIMPLE YET COMPLICATED WHATSAPP BOT LOADED WITH FEATURES🚩

hermit-md icon hermit-md

Hermit-md - Simple whatsapp Multi Device bot based on @adiwajshing/baileys

jarvis-md icon jarvis-md

#a whatsapp bot made with whiskeysockets/baileys

jarvisbot icon jarvisbot

Intelligent Bot lets you perform utility and fun stuff (Runnerup - Hack36)

king-md icon king-md

A Multi Device WhatsApp Bot Create By Naveed Dogar 🍁

malik-md icon malik-md

!Hi I Am A Multi Device WhatsApp Bot Create By Ata Ur Rehman & Team

mr-malik-md icon mr-malik-md

Mr Malik Is A Multi-Device WhatsApp User Bot Enriched With Many Cool Features Almost 100+. Created By Malik Exerts Team 🇵🇰

suhail-md icon suhail-md

meet Suhail-Md, Your All-in-One WhatsApp Excitement Buddy! Enjoy a thrilling messaging experience like never before. Suhail-Md brings a world of excitement and joy to your chats ✨🤖

x-bot-md icon x-bot-md

A Simple WhatsApp Multi-Device Bot And Full Open Source 🤝🏻

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.