Organize este código: reply('1 para ativar, 0 para desativar') } } catch { reply('Falha…
- User
Organize este código:
reply('1 para ativar, 0 para desativar') } } catch { reply('Falha ao ativar') } break
case 'kickfake': case 'banfake': { if (!isGroup) return reply(resposta.grupo) if (!isGroupAdmins) return reply(resposta.adm) array_fake = []; for(let a of groupMembers) { if(!a.id.startsWith("55") && a.id !== botNumber && a.admin === null) { array_fake.push(a.id) } } if(array_fake.length === 0) return reply("😑Nenhum número fake encontrado no grupo😑") for(let a of array_fake) { await sleep(100) client.groupParticipantsUpdate(from, [a], 'remove') } kwhdjdjhw =
${array_fake.length} números fake removido do grupo.client.sendMessage(from, {text: kwhdjdjhw, mentions: array_fake}) } breakcase 'bemvindo': case 'welcome': if(!isGroup) return reply(resposta.grupo) if(!isGroupAdmins) return reply(resposta.adm) if (!isBotGroupAdmins) return reply(resposta.botadm) if (args.length < 1) return reply('1 pra ligar / 0 pra desligar') if (Number(args[0]) === 1) { if (isWelkom) return reply('Ja esta ativo') welkom.push(from) fs.writeFileSync('./arquivos/funções/grupos/welkom.json', JSON.stringify(welkom)) reply('🌀 Ativou com sucesso o recurso de bem vindo neste grupo 📝') } else if (Number(args[0]) === 0) { if (!isWelkom) return reply('Ja esta Desativado') pesquisar = from processo = welkom.indexOf(pesquisar) while(processo >= 0){ welkom.splice(processo, 1) processo = welkom.indexOf(pesquisar) } fs.writeFileSync('./arquivos/funções/grupos/welkom.json', JSON.stringify(welkom)) reply('‼️ Desativou com sucesso o recurso de bemvindo neste grupo') } else { reply('1 para ativar, 0 para desativar') } break
case 'anticontato': case 'antictt': if(!isGroup) return reply(resposta.grupo) if(!isGroupAdmins) return reply(resposta.adm) if (!isBotGroupAdmins) return reply(resposta.botadm) if (args.length < 1) return reply('1 pra ligar / 0 pra desligar') if (Number(args[0]) === 1) { if (isAntiCtt) return reply('Ja esta ativo') anti_ctt.push(from)
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.