Skip to content

Instantly share code, notes, and snippets.

@souravkl11
Last active July 27, 2025 11:57
Show Gist options
  • Save souravkl11/7ba617d50196c809d0d1afeb96d6a494 to your computer and use it in GitHub Desktop.
Save souravkl11/7ba617d50196c809d0d1afeb96d6a494 to your computer and use it in GitHub Desktop.
Automatically sends status if anyone asks our status. Like 'send', 'snt' etc...
//pattern: 'status_sender',
// Matching keywords
const snds = "send,snd,snt,sent,ayak,ayk,gev"
// Custom message to be sent along with status
const MSG = "";
const {Module} = require('../main');
const sends = snds.split(",");
Module({on: 'text', fromMe: false}, async (message) => {
if (!message.reply_message || message.quoted.key.remoteJid !== 'status@broadcast') return;
if (sends.some(keyword => message.message.toLowerCase().includes(keyword))) {
return await message.forwardMessage(message.jid, message.quoted, {contextInfo: {isForwarded: false}});
}
});
@aromalpillai12
Copy link

bro plz add "sd" in thid codes

@Holister12345
Copy link

Broo ippo ithu install akunilla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment