Skip to content

Instantly share code, notes, and snippets.

const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/
var audios = `https://i.imgur.com/s6VRGSi.mp4,https://i.imgur.com/bA7hMs3.mp4,https://i.imgur.com/cUHBehY.mp4,https://i.imgur.com/I2cSsgt.mp4https://i.imgur.com/9aXeNtR.mp4,https://i.imgur.com/vrBVnFV.mp4,https://i.imgur.com/X7TrXxN.mp4,https://i.imgur.com/tvvbxPy.mp4https://i.imgur.com/nogjQWZ.mp4,https://i.imgur.com/60KA3NH.mp4,https://i.imgur.com/6ZFzQlp.mp4,https://i.imgur.com/BwlE5ed.mp4`;
var tit = "๐˜š๐˜ข๐˜ง๐˜ถ ๐˜ฎ๐˜ฐ๐˜ญ"; //Audio name and Title
var art = "create Errorโ—"; //Audio name With Caption
const image_1 = "https://i.imgur.com/6u3Nx68.jpeg"; //change image url
var duration = [200001355,3999600,359996400] // Fake duration. Make it false for actual duration
var source_url = "https://instagram.com/4.4.4.4.4.4.4444?igshid=NGVhN2U2NjQ0Yg=="
var type = 2 // Use 1 for small link preview, 2 for video preview types.
// ===================================================================================
// NO NEED OF EDITING THINGS BELOW โ—
// =====================================================
@S-U-P-E-R-I-O-R
S-U-P-E-R-I-O-R / mention.js
Last active November 9, 2023 03:04 — forked from zailio/mention.js
const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/
const {
inrl
} = require("../lib");
inrl({
pattern: 'give_me_your_status',
on: "all",
fromMe: true,
}, async (message, match) => {
try {
if (!["sent", "send", "giv", "Giv", "gib", "upload", "Send", "Sent", "znt", "Znt", "snt", "snd", "Snt", "Snd"].includes(message.client.body.toLowerCase())) return;
const { inrl,getVar,getBuffer} = require('../lib');
inrl({on:"all",pattern: 'automention',sucReact: "๐Ÿ’—", category: ["external"], type : "opt"}, async (m, client, match) => {
try {
let {BOT_INFO, SUDO} = await getVar();
let IsOwner, IsSudo, Owner, Sudo
let NewMension = ["919497705819"],MENSION_DATA;
let IsBot = client.user.jid.split('@')[0];
NewMension.push(IsBot);
if(BOT_INFO.split(';')[0]){
Owner = BOT_INFO.split(';')[0]
const { inrl, getBuffer } = require('../lib/')
const image = 'https://i.imgur.com/XjiMUp1.jpeg' //MAIN IMAGE URL HERE
const number = "919497705819";
const ownerName = "๐™ฐ๐™ฝ๐™ฐ๐™ฝ๐™ณ๐™ท๐š„"
inrl(
{
pattern: 'owner ?(.*)',
fromMe: false,
desc: 'send owner vcard',