Organize este código: let isTrueFalse =…
- User
Organize este código:
let isTrueFalse = Array('tiktok','facebook','instagram','twitter','ytmp3','ytmp4','play').some(item => item === command)
async function AntilinkHardF() { var Procurar_String = info.message?.conversation || info.message?.viewOnceMessageV2?.message?.imageMessage?.caption || info.message?.viewOnceMessageV2?.message?.videoMessage?.caption || info.message?.imageMessage?.caption || info.message?.videoMessage?.caption || info.message?.extendedTextMessage?.text || info.message?.viewOnceMessage?.message?.videoMessage?.caption || info.message?.viewOnceMessage?.message?.imageMessage?.caption || info.message?.documentWithCaptionMessage?.message?.documentMessage?.caption || info.message?.buttonsMessage?.imageMessage?.caption || ""
const linkfy = require('linkifyjs'); if(linkfy.find(Procurar_String).length > 0 && isAntilinkgp2 && !isGroupAdmins && isBotGroupAdmins && !info.key.fromMe) { if(isTrueFalse) return if(Procurar_String.includes("chat.whatsapp.com")) { link_dgp = await client.groupInviteCode(from) if(Procurar_String.match(link_dgp)) return reply('Link do nosso grupo, não irei remover.. ')
} setTimeout(() => { client.sendMessage(from, { delete: { remoteJid: from, fromMe: false, id: info.key.id, participant: sender}}) }, 500) if(!JSON.stringify(groupMembers).includes(sender)) return client.groupParticipantsUpdate(from, [sender], 'remove') setTimeout(() => { client.sendMessage(from, { delete: { remoteJid: from, fromMe: false, id: info.key.id, participant: sender}}) }, 500)client.groupSettingUpdate(from, 'announcement').then
await sleep(9000); client.groupSettingUpdate(from, 'not_announcement').then }} AntilinkHardF()
// [ JOGO DA VELHA ]
const mention = (teks= '', ms = info) => { memberr = [] vy = teks.includes('\n') ? teks.split('\n') : [teks] for(vz of vy){ for(zn of vz.split(' ')){ if(zn.includes('@'))memberr.push(parseInt(zn.split('@')[1])+'@s.whatsapp.net') }} client.sendMessage(from, {text: teks.trim(), mentions: memberr}, {quoted: selo}) }
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.