Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added plugins.zip
Binary file not shown.
89 changes: 89 additions & 0 deletions plugins/plugins/Charlie-1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
let handler = async (m, { conn }) => {

conn.reply(m.chat,`*╭══• ೋ•✧๑🧿๑✧•ೋ •══╮*
𝐒𝐚𝐦𝐚𝐞𝐥 𝐃𝐢𝐜𝐞\n*“${pickRandom(global.charlie)}”*\n*╰══• ೋ•✧๑🧿๑✧•ೋ •══╯*
${author}
`, m)
}

handler.help = ['ᴄʜᴀʀʟɪᴇ']

handler.tags = ['juegos']

handler.command = /^(Say)$/i

handler.owner = false

handler.mods = false

handler.premium = false

handler.group = false

handler.private = false



handler.admin = false

handler.botAdmin = false



handler.fail = null



export default handler



function pickRandom(list) {

return list[Math.floor(list.length * Math.random())]

}



// charlie charlie by odin el fucker kkkkkkkkkk

global.charlie = [

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No",

"Si","No","Si","No", "Si","No", "Si","No", "Si","No"

]
65 changes: 65 additions & 0 deletions plugins/plugins/Fantasmas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
let handler = async (m, { conn, text, participants }) => {

let member = participants.map(u => u.id)

if(!text) {

var sum = member.length

} else {

var sum = text

}

var total = 0

var sider = []

for(let i = 0; i < sum; i++) {

let users = m.isGroup ? participants.find(u => u.id == member[i]) : {}

if((typeof global.db.data.users[member[i]] == 'undefined' || global.db.data.users[member[i]].chat == 0) && !users.isAdmin && !users.isSuperAdmin) {

if (typeof global.db.data.users[member[i]] !== 'undefined'){

if(global.db.data.users[member[i]].whitelist == false){

total++

sider.push(member[i])

}

}else {

total++

sider.push(member[i])

}

}

}

if(total == 0) return conn.reply(m.chat, `*Este grupo no tiene fantasmas :D.*`, m)

m.reply(`*[❌️🏮REVISIÓN DE INACTIVOS🏮❌️]*\n\n*Grupo: ${await conn.getName(m.chat)}*\n*Participantes: ${sum}*\n\n*[ 🏮👻 LISTA DE FANTASMAS 👻🏮 ]*\n${sider.map(v => '🔥🚫@' + v.replace(/@.+/, '')).join('\n')}\n\n*Nota: Esto puede no ser 100% acertado*`, null, { mentions: sider })

}

handler.help = ['verfantasmas']

handler.tags = ['group']

handler.command = /^(verfantasmas|fantasmas|sider|Sider)$/i

handler.admin = true

handler.botAdmin = true

handler.fail = null

export default handler
32 changes: 32 additions & 0 deletions plugins/plugins/Herramienta-Identidad (1).js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import fetch from 'node-fetch'

let handler = async (m, { conn }) => {

let res = await fetch(`https://docs-jojo.herokuapp.com/api/fake_identity?lang=en&type=json`)

let json = await res.json()

m.reply(`╭═🏮═•🔥•𝐈𝐃𝐄𝐍𝐓𝐈𝐃𝐀𝐃•🔥•═🏮═╮
*𓆩卐𓆪* Nombre: ${json.name}
*𓆩卐𓆪* Edad: ${json.age}
*𓆩卐𓆪* Género: ${json.gender}
*𓆩卐𓆪* ocupacion: ${json.occupation}
*𓆩卐𓆪* Codigo postal: ${json.zip_code}
*𓆩卐𓆪* Estado: ${json.state}
*𓆩卐𓆪* Pais: ${json.country}
*𓆩卐𓆪* Email: ${json.email}
*𓆩卐𓆪* Contraseña: ${json.password}
*𓆩卐𓆪* Telefono: ${json.phone}
*𓆩卐𓆪* Tarjeta: ${json.card}
*𓆩卐𓆪* CCV: ${json.code}
*𓆩卐𓆪* Fecha: ${json.date}
*𓆩卐𓆪* Codigo pin: ${json.pin_code}
*𓆩卐𓆪* Tipo de sangre: ${json.blood_type}
*𓆩卐𓆪* Estado fiscal: ${json.status}
╰═🏮═•🏮•𝐈𝐃𝐄𝐍𝐓𝐈𝐃𝐀𝐃•🏮•═🏮═╯
𝚩𝐘:🔥𝗥𝗲𝗻𝗴𝗼𝗸𝘂_𝗕𝗼𝘁🔥`)

}

handler.command = /^(identidad)$/i
export default handler
55 changes: 55 additions & 0 deletions plugins/plugins/Menu_Furidamu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
const { levelling } = '../lib/levelling.js'

import PhoneNumber from 'awesome-phonenumber'

let handler = async (m, { conn, usedPrefix }) => {

let pp = './Menu3.jpg'

try {

} catch (e) {

} finally {

//let about = (await conn.getStatus(who).catch(console.error) || {}).status || ''

let name = await conn.getName(m.sender)

let str = `

*☾︎⛩️𝙼𝚎𝚗𝚞 𝚍𝚎 𝚊𝚞𝚍𝚒𝚘𝚜 𝚍𝚎 𝙵𝚞𝚛𝚒𝚍𝚊𝚖𝚞⛩️☽︎*

᯾Lucy1᯾
᯾Lucy2᯾
᯾Lucy3᯾
᯾Lucy4᯾
᯾Lucy5᯾
᯾Lucy6᯾
᯾Lucy7᯾
᯾Lucy8᯾
᯾Lucy9᯾
᯾Mika1᯾
᯾Kya1᯾
᯾Kya2᯾

*🚩𝚂𝚒 𝚝𝚎 𝚊𝚗𝚒𝚖𝚊𝚜 𝚊 𝚚𝚞𝚎𝚛𝚎𝚛 𝚜𝚊𝚕𝚒𝚛 𝚎𝚗 𝚎𝚕 𝚖𝚎𝚗𝚞, 𝚖𝚊𝚗𝚍𝚊 𝚙𝚛𝚒𝚟𝚊𝚍𝚘 𝚊𝚕 𝚗𝚞𝚖𝚎𝚛𝚘 𝚍𝚎 𝚁𝚒𝚌𝚊𝚛𝚍𝚘 𝚎𝚕 𝚍𝚞𝚎𝚗̃𝚘 𝚍𝚎𝚕 𝙱𝙾𝚃🚩*
`.trim()

conn.sendHydrated(m.chat, str, wm, pp, 'wa.me/51927055863', '🔥𝗥𝗲𝗻𝗴𝗼𝗸𝘂_𝗕𝗼𝘁🔥', null, null, [

['🔥𝙼𝙴𝙽𝚄 𝙿𝚁𝙸𝙽𝙲𝙸𝙿𝙰𝙻🔥', '/menu']

], m)

}}

handler.help = ['menu3', 'help3', '?3', 'menuaudiosfuridamu']

handler.tags = ['main']

handler.command = /^(menu3|audios furidamu|furidamu)$/i

handler.fail = null

export default handler
17 changes: 17 additions & 0 deletions plugins/plugins/SIMI.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import fetch from 'node-fetch'
let handler = m => m

handler.before = async (m) => {
let chat = global.db.data.chats[m.chat]
if (chat.simi) {
if (/^.*false|disnable|(turn)?off|0/i.test(m.text)) return
if (!m.text) return
let ressimi = await fetch(`https://api.simsimi.net/v2/?text=${encodeURIComponent(m.text)}&lc=es`)
let data = await ressimi.json();
if (data.success == 'No s\u00e9 lo qu\u00e9 est\u00e1s diciendo. Por favor ense\u00f1ame.') await m.reply("que xd")
await m.reply(data.success)
return !0
}
return true
}
export default handler
27 changes: 27 additions & 0 deletions plugins/plugins/_antilink.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
let linkRegex = /chat.whatsapp.com\/([0-9A-Za-z]{20,24})/i
export async function before(m, { isAdmin, isBotAdmin }) {
if (m.isBaileys && m.fromMe)
return !0
let vn = './media/antilink.mp3'
if (!m.isGroup) return !1
let chat = global.db.data.chats[m.chat]
let delet = m.key.participant
let bang = m.key.id
let bot = global.db.data.settings[this.user.jid] || {}
const isGroupLink = linkRegex.exec(m.text)
const grupo = `https://chat.whatsapp.com`
if (isAdmin && chat.antiLink && m.text.includes(grupo)) return m.reply('*ʜᴇʏ!!, ᴇʟ ᴀɴᴛɪʟɪɴᴋ ᴇsᴛᴀ ᴀᴄᴛɪᴠᴀᴅᴏ, ᴛᴇ ɪʙᴀ sᴀᴄᴀʀ ᴅᴇʟ ɢʀᴜᴘᴏ... ᴘᴇʀᴏ ᴇʀᴇs ᴀᴅᴍɪɴ😒*')
if (chat.antiLink && isGroupLink && !isAdmin) {
if (isBotAdmin) {
const linkThisGroup = `https://chat.whatsapp.com/${await this.groupInviteCode(m.chat)}`
if (m.text.includes(linkThisGroup)) return !0
}
await conn.sendButton(m.chat, `*「🏮𝐀𝐍𝐓𝐈 𝐋𝐈𝐍𝐊🏮」*\n*🐀, ${await this.getName(m.sender)} ᴇsᴏ ɴᴏ sᴇ ᴘᴇʀᴍɪᴛᴇ ʀᴀᴛᴀ, ʀᴏᴍᴘɪsᴛᴇ ʟᴀs ʀᴇɢʟᴀs ᴅᴇʟ ɢʀᴜᴘᴏ, sᴇʀᴀs ᴇxᴛᴇʀᴍɪɴᴀᴅᴏ🚮...!!*${isBotAdmin ? '' : '\n\n*[❗𝐈𝐍𝐅𝐎❗] ᴛᴇ ʜᴀs sᴀʟᴠᴀᴅᴏ, ᴇʟ ʙᴏᴛ ɴᴏ ᴇs ᴀᴅᴍɪɴ ᴀǫᴜɪ🥲*'}`, author, ['𝘿𝙚𝙨𝙖𝙘𝙩𝙞𝙫𝙖𝙧 𝙖𝙣𝙩𝙞𝙡𝙞𝙣𝙠', '/disable antilink'], m)
if (isBotAdmin) {
await conn.sendMessage(m.chat, { delete: { remoteJid: m.chat, fromMe: false, id: bang, participant: delet }})
await conn.groupParticipantsUpdate(m.chat, [m.sender], 'remove')
} else if (!bot.restrict) return m.reply('*[❗𝐈𝐍𝐅𝐎❗] 𝙀𝙡 𝙥𝙧𝙤𝙥𝙞𝙚𝙩𝙖𝙧𝙞𝙤 𝙙𝙚𝙡 𝙗𝙤𝙩 𝙣𝙤 𝙩𝙞𝙚𝙣𝙚 𝙖𝙘𝙩𝙞𝙫𝙖𝙙𝙤 𝙚𝙡 𝙧𝙚𝙨𝙩𝙧𝙞𝙘𝙘𝙞𝙤́𝙣 (𝙚𝙣𝙖𝙗𝙡𝙚 𝙧𝙚𝙨𝙩𝙧𝙞𝙘𝙩) 𝙘𝙤𝙣𝙩𝙖𝙘𝙩𝙚 𝙘𝙤𝙣 𝙚𝙡 𝙥𝙖𝙧𝙖 𝙦𝙪𝙚 𝙡𝙤𝙨 𝙝𝙖𝙗𝙞𝙡𝙞𝙩𝙚*')
conn.sendFile(m.chat, vn, 'antilink.mp3', null, m, true, { type: 'audioMessage', ptt: true, sendEphemeral: true })
}
return !0
}
24 changes: 24 additions & 0 deletions plugins/plugins/_antilink2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
let linkRegex = /https:/i
export async function before(m, { isAdmin, isBotAdmin, text }) {
if (m.isBaileys && m.fromMe)
return !0
if (!m.isGroup) return !1
let chat = global.db.data.chats[m.chat]
let bot = global.db.data.settings[this.user.jid] || {}
const isGroupLink = linkRegex.exec(m.text)
if (chat.antiLink2 && isGroupLink && !isAdmin) {
if (isBotAdmin) {
const linkThisGroup = `https://chat.whatsapp.com/${await this.groupInviteCode(m.chat)}`
const linkThisGroup2 = `https://www.youtube.com/`
const linkThisGroup3 = `https://youtu.be/`
if (m.text.includes(linkThisGroup)) return !0
if (m.text.includes(linkThisGroup2)) return !0
if (m.text.includes(linkThisGroup3)) return !0
}
await conn.sendButton(m.chat, `*「 𝐀𝐍𝐓𝐈 𝐋𝐈𝐍𝐊𝐒 」*\n*𝙷𝙰𝚂𝚃𝙰 𝙻𝙰 𝚅𝙸𝚂𝚃𝙰 𝙱𝙰𝙱𝚈 👋, ${await this.getName(m.sender)} 𝚁𝙾𝙼𝙿𝙸𝚂𝚃𝙴𝚂 𝙻𝙰𝚂 𝚁𝙴𝙶𝙻𝙰𝚂 𝙳𝙴𝙻 𝙶𝚁𝚄𝙿𝙾, 𝚂𝙴𝚁𝙰𝚂 𝙴𝚇𝚃𝙴𝚁𝙼𝙸𝙽𝙰𝙳𝙾...!!*${isBotAdmin ? '' : '\n\n*[❗𝐈𝐍𝐅𝐎❗] 𝙴𝙻 𝙱𝙾𝚃 𝙽𝙾 𝙴𝚂 𝙰𝙳𝙼𝙸𝙽, 𝙽𝙾 𝙿𝚄𝙴𝙳𝙴 𝙴𝚇𝚃𝙴𝚁𝙼𝙸𝙽𝙰𝚁 𝙰 𝙻𝙰𝚂 𝙿𝙴𝚁𝚂𝙾𝙽𝙰𝚂*'}`, author, ['𝙳𝙴𝚂𝙰𝙲𝚃𝙸𝚅𝙰𝚁 𝙰𝙽𝚃𝙸𝙻𝙸𝙽𝙺𝚂', '/disable antilink'], m)
if (isBotAdmin && bot.restrict) {
await conn.groupParticipantsUpdate(m.chat, [m.sender], 'remove')
} else if (!bot.restrict) return m.reply('*[❗𝐈𝐍𝐅𝐎❗] 𝙴𝙻 𝙿𝚁𝙾𝙿𝙸𝙴𝚃𝙰𝚁𝙸𝙾 𝙳𝙴𝙻 𝙱𝙾𝚃 𝙽𝙾 𝚃𝙸𝙴𝙽𝙴 𝙷𝙰𝙱𝙸𝙻𝙸𝚃𝙰𝙳𝙾 𝙻𝙰𝚂 𝚁𝙴𝚂𝚃𝚁𝙸𝙲𝙲𝙸𝙾𝙽𝙴𝚂 (#𝚎𝚗𝚊𝚋𝚕𝚎 𝚛𝚎𝚜𝚝𝚛𝚒𝚌𝚝) 𝙲𝙾𝙽𝚃𝙰𝙲𝚃𝙴 𝙲𝙾𝙽 𝙴𝙻 𝙿𝙰𝚁𝙰 𝚀𝚄𝙴 𝙻𝙾 𝙷𝙰𝙱𝙸𝙻𝙸𝚃𝙴*')
}
return !0
}
18 changes: 18 additions & 0 deletions plugins/plugins/_antiprivado.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export async function before(m, { conn, isAdmin, isBotAdmin, isOwner, isROwner }) {
if (m.isBaileys && m.fromMe)
return !0
if (m.isGroup)
return !1
if (!m.message)
return !0
if (m.text.includes('PIEDRA') || m.text.includes('PAPEL') || m.text.includes('TIJERA'))
return !0
let chat = global.db.data.chats[m.chat]
let bot = global.db.data.settings[this.user.jid] || {}

if (bot.antiPrivate && !isOwner && !isROwner) {
await m.reply(`Hola *@${m.sender.split`@`[0]}*, está prohibido hablar al privado del bot serás bloqueado. si necesita usar el bot, con gusto lo invitamos a unirse al grupo oficial https://chat.whatsapp.com/KN9i1Xyi68A7Z8DMLSsLFh`, false, { mentions: [m.sender] })
await this.updateBlockStatus(m.chat, 'block')
}
return !1
}
26 changes: 26 additions & 0 deletions plugins/plugins/_antitoxic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
const toxicRegex = /puto|puta|rata|estupido|imbecil|rctmre|orto|mrd|verga|vrga|maricon/i

export async function before(m, { isAdmin, isBotAdmin, isOwner }) {
if (m.isBaileys && m.fromMe)
return !0
if (!m.isGroup)
return !1
let user = global.db.data.users[m.sender]
let chat = global.db.data.chats[m.chat]
let bot = global.db.data.settings[this.user.jid] || {}
const isToxic = toxicRegex.exec(m.text)

if (isToxic && chat.antiToxic && !isOwner && !isAdmin) {
user.warn += 1
if (!(user.warn >= 5)) await m.reply(`${user.warn == 1 ? `Hola *@${m.sender.split`@`[0]}*` : `*@${m.sender.split`@`[0]}*`}, decir la palabra (${isToxic}) está prohibido en este bot *${user.warn}/5* advertencia`, false, { mentions: [m.sender] })
}

if (user.warn >= 5) {
user.warn = 0
await m.reply(`Hola *@${m.sender.split`@`[0]}*, superaste las 5 advertencias serás bloqueado y eliminado de este grupo`, false, { mentions: [m.sender] })
user.banned = true
await this.groupParticipantsUpdate(m.chat, [m.sender], 'remove')
//await this.updateBlockStatus(m.sender, 'block')
}
return !1
}
Loading