File size: 608 Bytes
d8a4b7b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
/** // Untuk delete pesan link Groupp
let handler = async (m, { conn, command, text }) => {
await conn.sendMessage(m.chat, { delete: m.key})
}
handler.customPrefix = /(https?:\/\/)?(www\.)?(chat.whatsapp.com\/invite\/)?([0-9A-Za-z]{20,24})/ig
handler.command = new RegExp()
module.exports = handler
**/
/** // Untuk delete semua pesan berawalan https
let handler = async (m, { conn, command, text }) => {
await conn.sendMessage(m.chat, { delete: m.key})
}
handler.customPrefix = /(https?:\/\/)?[\da-z\.-]+\.[a-z\.]{2,6}(\/([^\s]*))?/ig
handler.command = new RegExp()
module.exports = handler
**/
|