-
-
Save souravkl11/7ba617d50196c809d0d1afeb96d6a494 to your computer and use it in GitHub Desktop.
Automatically sends status if anyone asks our status. Like 'send', 'snt' etc...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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}}); | |
} | |
}); |
Broo ippo ithu install akunilla
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bro plz add "sd" in thid codes