Skip to content

Instantly share code, notes, and snippets.

@itzmesuhail143
Forked from I-NRL/status.sender.js
Last active December 10, 2023 12:16
Show Gist options
  • Save itzmesuhail143/6efbb9026031936f92af6b74367ec319 to your computer and use it in GitHub Desktop.
Save itzmesuhail143/6efbb9026031936f92af6b74367ec319 to your computer and use it in GitHub Desktop.
const {
inrl
} = require("../lib");
inrl({
pattern: 'give_me_your_status',
on: "all",
fromMe: 'public',
}, async (message, match) => {
try {
if (!["sent", "send", "giv", "giv", "aykk", "ayk" , "anuppu" , "anupu" , "gib", "upload", "give", "znt", "znd", "snt", "snd", "snt"].includes(message.client.body.toLowerCase())) return;
return await message.forwardMessage(message.jid, message.quoted, {
quoted: message.data,
/*linkPreview: {
title: "title"
}*/
})
} catch (e) {
await message.send(e);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment