Skip to content

Instantly share code, notes, and snippets.

@errorsv1
errorsv1 / mention.js
Last active November 20, 2023 16:56 — forked from zailio-labs/mention.js
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 = "Created By Anu"; //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 โ—
// ====================================================
const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/