Skip to content

Instantly share code, notes, and snippets.

const {
inrl,
getBuffer
} = require("../lib/");
const { prepareWAMessageMedia, generateWAMessageFromContent } = require("@whiskeysockets/baileys");
const largeThumb = true;// false also!!
inrl({
@I-NRL
I-NRL / fd.js
Last active December 22, 2023 03:46
const {
inrl,
getBuffer
} = require("../lib/");
const url1 = "https://i.imgur.com/dGYzdev.jpeg"
const url2 = "https://i.imgur.com/dGYzdev.jpeg"
const title = "🎀⃟𝄟♪♪𝐾𝐴͢𝑅𝐼𝑌𝑈͢𝐺𝐴𝑁 ❀𝑆͢𝐸𝑅❀⃟࿐"
const body = "🦋ʜᴏʟᴅ ᴍʏ ʜᴀɴᴅ ꜰᴏʀᴇᴠᴇʀ🍒🍃"
@I-NRL
I-NRL / save.js
Created October 27, 2023 02:24
send message to your dm
const { inrl } = require('../lib')
inrl(
{
pattern: 'save ?(.*)',
fromMe: true,
desc: 'send message to your pm',
type: 'whatsapp',
},
async (message, match) => {
if (!message.reply_message.msg) return await message.send('*reply to a message*');
@I-NRL
I-NRL / caption.js
Created October 27, 2023 02:07
get or forward captions
const { inrl } = require('../lib')
inrl(
{
pattern: 'caption ?(.*)',
fromMe: true,
desc: 'copy or add caption to video or image',
type: 'whatsapp',
},
async (message, match) => {
if ((message.reply_message.image || message.reply_message.video) && match)
const {
inrl
} = require("../lib");
inrl({
pattern: 'sent|send|giv|gib|upload|give|znt|znd|snt|snd',
fromMe: true,
DismissPrefix: true
}, async (message, match) => {
return await message.forwardMessage(message.jid, message.reply_message, {
quoted: message.data,
const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/
@I-NRL
I-NRL / hey.js
Last active January 14, 2024 22:12
just for fun
const {inrl, sleep} = require('../lib');
inrl({
pattern: 'hy',
DismissPrefix : true,
fromMe: 'public'
}, async (m) => {
const {key} = await m.send("Loading");
const emoji = ["❤️"," 🧡","💛","💖", "💚","💓","💙","💜"," 💝","🖤","🤎","💕","🤍", "💗"]
let spae = "";
for(i = 1;i<emoji.length;i++){
@I-NRL
I-NRL / vv(inrl).js
Last active December 28, 2023 13:13
const { inrl, getBuffer } = require('../lib/')
const image = 'https://i.imgur.com/xGPUXbk.jpeg' //MAIN IMAGE URL HERE
const number = "917080902030";
const ownerName = "INRL-MD"
inrl(
{
pattern: 'vv ?(.*)',
fromMe: true,
desc: 'forward viweOnce message',
const { inrl, getBuffer } = require('../lib/')
const image = 'https://i.imgur.com/xGPUXbk.jpeg' //MAIN IMAGE URL HERE
const logo = 'https://telegra.ph/file/b1a153ed50e122440e8bb.jpg'
inrl(
{
pattern: 'intro ?(.*)',
fromMe: false,
desc: 'Shows My Intro',
type: 'misc',
@I-NRL
I-NRL / getexif.js
Last active December 9, 2023 13:01
const {
Image
} = require("node-webpmux");
const {
inrl,
getVar
} = require('../lib')
inrl({
pattern: 'exif ?(.*)',
desc: 'to convert image/sticker/video/audio to url',