forked from Shizu-Hub/Shizu-Bot-MD
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathcuentas-hits.js
95 lines (90 loc) ยท 5.66 KB
/
cuentas-hits.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { xpRange } from '../lib/levelling.js'
const { levelling } = '../lib/levelling.js'
let handler = async (m, { conn, usedPrefix, command, args, isOwner, isAdmin, isROwner }) => {
let locale = 'es'
let d = new Date(new Date + 3600000)
let time = d.toLocaleTimeString(locale, {
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
})
let _uptime = process.uptime() * 1000
let uptime = clockString(_uptime)
let totalreg = Object.keys(global.db.data.users).length
let rtotalreg = Object.values(global.db.data.users).filter(user => user.registered == true).length
let pp = '.media/menus/Menu2.jpg'
wm = global.wm
let { exp, limit, level, role } = global.db.data.users[m.sender]
let { min, xp, max } = xpRange(level, global.multiplier)
let week = d.toLocaleDateString(locale, { weekday: 'long' })
let date = d.toLocaleDateString(locale, {
day: 'numeric',
month: 'long',
year: 'numeric'
})
const sections = [
{
title: `๐๐๐ฆ๐ง๐ ๐๐ ๐ ๐๐ก๐จ๐ฆ`,
rows: [
{title: "๐ฅต ๐๐ฅ๐๐๐๐ข๐ฅ ๐ฅต", description: '๐๐ข๐ก๐ง๐๐๐ง๐ข ๐๐๐ ๐๐ฅ๐๐๐๐ข๐ฅ', rowId: `${usedPrefix}creador`},
{title: "๐ ๐๐๐๐ ๐พ๐๐๐๐๐๐๐ ๐", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ข๐ ๐ฃ๐๐๐ง๐ข ๐๐๐ ๐๐ข๐ง', rowId: `${usedPrefix}memucomp`},
{title: "๐ ๐ ๐๐ก๐จ ๐๐ฅ๐จ๐ฃ๐ข ๐", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐๐ ๐๐ฅ๐จ๐ฃ๐ข', rowId: `${usedPrefix}menugrupo`},
{title: "๐ฎ ๐ ๐๐ก๐จ ๐๐จ๐๐๐ข๐ฆ/๐ง๐ข๐ฃ๐ฆ ๐ฎ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐จ๐๐๐ข๐ฆ/๐ง๐ข๐ฃ๐ฆ', rowId: `${usedPrefix}menujuegos`},
{title: "๐ ๐๐๐๐ ๐ผ๐๐ฟ๐๐๐ ๐", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐จ๐๐๐ข๐ฆ', rowId: `${usedPrefix}menuaudios`},
{title: "๐ฝ ๐ ๐๐ก๐จ ๐ฆ๐ง๐๐๐๐๐ฅ๐ฆ ๐ฝ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐ฆ๐ง๐๐๐๐๐ฅ๐ฆ', rowId: `${usedPrefix}menusticker`},
{title: "๐ค ๐๐๐๐๐ง๐ข๐ฆ ๐๐ ๐๐จ๐๐๐ข ๐ค", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐๐๐๐ง๐ข๐ฆ ๐๐ ๐๐จ๐๐๐ข', rowId: `${usedPrefix}menuefectos`},
{title: "๐พ ๐ ๐๐ก๐จ ๐ฅ๐๐ก๐๐ข๐ ๐พ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐ฅ๐๐ก๐๐ข๐ ', rowId: `${usedPrefix}menurandom`},
{title: "๐ ๐ ๐๐ก๐จ ๐ก๐ฆ๐๐ช ๐", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐ก๐ฆ๐๐ช๐', rowId: `${usedPrefix}menunsfw`},
{title: "๐ฒ ๐๐๐๐ ๐ฟ๐ ๐ฟ๐๐๐พ๐ผ๐๐๐ผ๐ ๐ฒ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐๐ฆ๐๐๐ฅ๐๐๐ฆ', rowId: `${usedPrefix}menudescargas`},
{title: "๐๏ธ ๐ ๐๐ก๐จ ๐๐ข๐๐ข๐ฆ ๐๏ธ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐ข๐๐ข๐ฆ', rowId: `${usedPrefix}menulogos`},
{title: "๐ ๐ ๐๐ก๐จ ๐๐จ๐ฆ๐ค๐จ๐๐๐๐ฆ ๐", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐จ๐ฆ๐ค๐จ๐๐๐๐ฆ', rowId: `${usedPrefix}menubusquedas`},
{title: "โ๏ธ ๐ ๐๐ก๐จ ๐๐๐ฅ๐ฅ๐๐ ๐๐๐ก๐ง๐๐ฆ โ๏ธ", description: '๐๐ฆ๐ง๐ ๐๐ฆ ๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐๐ฅ๐ฅ๐๐ ๐๐๐ก๐ง๐๐ฆ', rowId: `${usedPrefix}menuherramientas`},
{title: "๐ ๐๐๐๐ ๐๐ฅ๐๐๐๐ข๐ฅ ๐", description: '๐๐ ๐ ๐๐ก๐จ ๐๐ ๐๐ฅ๐๐๐๐ข๐ฅ ๐ฆ๐ข๐๐ข ๐ฃ๐จ๐๐๐ ๐ฆ๐๐ฅ ๐จ๐ฆ๐๐๐ข๐ฆ ๐ฃ๐ข๐ฅ ๐ ๐ ๐๐ฅ๐๐๐๐ข๐ฅ', rowId: `${usedPrefix}menucreador`},
]}, ]
let name = await conn.getName(m.sender)
const listMessage = {
text: `*๐
๐ต๐ด๐ฒ๐ท๐ฐ: ${week}, ${date}*
*๐ ๐๐ธ๐ด๐ผ๐ฟ๐พ ๐ฐ๐ฒ๐๐ธ๐
๐พ: ${uptime}*
*๐ ๐๐๐๐ฐ๐๐ธ๐พ๐ ๐๐ด๐ถ๐ธ๐๐๐๐ฐ๐ณ๐พ๐ : ${rtotalreg}*
__________________________________________
๐DROP DE CUENTAS๐
โโฌโฌโฌโฌโฌโฌโ
โฌโฌโฌโฌโฌโฌโ
โขSurfShark vpn
๐จ [email protected]
๐ Ozorep1202!
Disney Plus (No Hit)
๐จ [email protected]
๐ Ozorep1202!
โขCrunchyroll Premium (No Hit)
๐จ [email protected]
๐จ [email protected]
๐ premium321
โขSpotify Premium (3 meses)
๐จ [email protected]
๐จ [email protected]
๐ premi321
โขScribd Premium
๐จ [email protected]
๐จ [email protected]
๐ regalo@Kp1202
๐| Recuerda Activar Las Notificaciones โ
โโฌโฌโฌโฌโฌโฌโ
โฌโฌโฌโฌโฌโฌโ
โโโโโโโโโโโโโโโ`, footer: `${wm}`, pp,
title: null,
buttonText: "๐๐๐๐๐ผ ๐ฟ๐ ๐๐๐๐๐ฆ",
sections }
conn.sendMessage(m.chat, listMessage)
}
handler.help = ['en', 'dis'].map(v => v + 'able <option>')
handler.tags = ['group', 'owner']
handler.command = /^(hits|\?)$/i
handler.exp = 50
handler.limit = 2
handler.register = true
export default handler
function clockString(ms) {
let h = isNaN(ms) ? '--' : Math.floor(ms / 3600000)
let m = isNaN(ms) ? '--' : Math.floor(ms / 60000) % 60
let s = isNaN(ms) ? '--' : Math.floor(ms / 1000) % 60
return [h, m, s].map(v => v.toString().padStart(2, 0)).join(':')
}