Skip to content

Instantly share code, notes, and snippets.

@Emiwayfire
Emiwayfire / Mention.js
Last active January 2, 2024 17:50
Inrl-bot
const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/
const {Function,isPublic, getJson} = require("../lib/");
Function({pattern: 'couple ?(.*)', fromMe: isPublic, desc: 'get random couple photos', type: 'anime'}, async (m, text, client) => {
const { result } = await getJson ('https://gist.githubusercontent.com/Emiwayfire/fcd8791a4f8679be16fe3b67216718ee/raw')
const { male, female } = result[Math.floor(Math.random()*result.length)];
await client.sendMessage(m.jid, { image: { url: male }, caption: "Male" })
await client.sendMessage(m.jid, { image: { url: female }, caption: "Female" });
});
@Emiwayfire
Emiwayfire / Ayaan
Last active November 11, 2023 22:13
Owner
const { inrl } = require('../lib/')
// MADE WITH ❤️ BY AYAAN-BOT-MD
const name = "𓆩ꪖꪗꪖꪖꪀ ꫀꪑ𝓲𝘳࿐🪐⃤𓆪";
let number = "918576898666";
const image = "https://i.imgur.com/v0KHsKb.jpeg";
const title = "➵𓆩🧸❤️⚡𝐵𝒃𝒚 𝐼'𝒎 𝒖𝒓"𝒔🧸💜 𓆪";
const body = "notyour_emir😃❤️";
const sourceurl = "https://i.imgur.com/f4ONuBz.mp4";
@Emiwayfire
Emiwayfire / I am here
Last active November 11, 2023 22:16
Mention
const {inrl, getBuffer} = require('../lib');
/*
inrl({
pattern: "mention",
type: "misc",
desc: external
}, async (message, match) => {
*/