-
-
Save itzmesuhail143/88f3c31ad70e9103ce6d809ba17e09ce to your computer and use it in GitHub Desktop.
MADE WITH LOVE π
This file contains 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
const { System } = require('../lib/'); | |
System({ | |
pattern: "auto_status_sender", | |
on: 'text', | |
allowBot: true, | |
fromMe: 'public', | |
desc: "automatic status sender", | |
dontAddCommandList: true, | |
}, | |
async (message, match) => { | |
var sends = ["Sent","Send","giv","Giv","anuppu","ayk","send","sent","znt","Znt","snt","Snd","Snt","ayak"]; | |
if (message.fromMe || (!message.reply_message == 'status@broadcast')) return; | |
if (!message.jid == ('status@broadcast')) return; | |
if (message.isGroup) return; | |
if (sends.some(keyword => message.body.includes(keyword))) { | |
await message.forward(message.from, message.reply_message, { quoted: message.data }); | |
} else { | |
return; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment