forked from GataNina-Li/GataBot-MD1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfun-multijuegos.js
224 lines (192 loc) ยท 15.4 KB
/
fun-multijuegos.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
import { xpRange } from '../lib/levelling.js'
import PhoneNumber from 'awesome-phonenumber'
import { promises } from 'fs'
import { join } from 'path'
import { performance } from 'perf_hooks'
let handler = async (m, { conn, usedPrefix, command, args, usedPrefix: _p, __dirname, isOwner, text, isAdmin, isROwner }) => {
//let com = `${usedPrefix}`
//let juegos = `${pickRandom([`${com}formarareja`,`${com}reto`,`${com}verdad`])}`
const { levelling } = '../lib/levelling.js'
//let handler = async (m, { conn, usedPrefix, usedPrefix: _p, __dirname, text }) => {
let { exp, limit, level, role } = global.db.data.users[m.sender]
let { min, xp, max } = xpRange(level, global.multiplier)
let d = new Date(new Date + 3600000)
let locale = 'es'
let weton = ['Pahing', 'Pon', 'Wage', 'Kliwon', 'Legi'][Math.floor(d / 84600000) % 5]
let week = d.toLocaleDateString(locale, { weekday: 'long' })
let date = d.toLocaleDateString(locale, {
day: 'numeric',
month: 'long',
year: 'numeric'
})
let dateIslamic = Intl.DateTimeFormat(locale + '-TN-u-ca-islamic', {
day: 'numeric',
month: 'long',
year: 'numeric'
}).format(d)
let time = d.toLocaleTimeString(locale, {
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
})
let _uptime = process.uptime() * 1000
let _muptime
if (process.send) {
process.send('uptime')
_muptime = await new Promise(resolve => {
process.once('message', resolve)
setTimeout(resolve, 1000)
}) * 1000
}
let muptime = clockString(_muptime)
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 replace = {
'%': '%',
p: _p, uptime, muptime,
me: conn.getName(conn.user.jid),
exp: exp - min,
maxexp: xp,
totalexp: exp,
xp4levelup: max - exp,
level, limit, weton, week, date, dateIslamic, time, totalreg, rtotalreg, role,
readmore: readMore
}
text = text.replace(new RegExp(`%(${Object.keys(replace).sort((a, b) => b.length - a.length).join`|`})`, 'g'), (_, name) => '' + replace[name])
let who = m.mentionedJid && m.mentionedJid[0] ? m.mentionedJid[0] : m.fromMe ? conn.user.jid : m.sender
let mentionedJid = [who]
let username = conn.getName(who)
if (command == 'multijuegos') {
global.db.data.users[m.sender].limit += 1
//let gata = `${pickRandom([`๐๐ช๐๐๐๐จ ๐๐๐ฃ๐๐ง ๐ฟ๐๐๐ข๐๐ฃ๐ฉ๐๐จ ๐๐ก ๐
๐ช๐๐๐ง!!`,`๐๐๐๐ช๐ ๐๐ช๐๐๐ฃ๐๐ค ๐ฅ๐๐ง๐ ๐๐๐ฃ๐๐ง ๐๐๐ฉ๐๐พ๐ค๐๐ฃ๐จ!!`,`๐๐๐๐๐๐จ ๐ฆ๐ช๐ ๐ฅ๐ช๐๐๐๐จ ๐๐๐ฃ๐๐ง ๐๐ญ๐ฅ๐๐ง๐๐๐ฃ๐๐๐ ๐๐ก ๐
๐ช๐๐๐ง? ๐ผ๐๐ค๐ง๐ ๐ฎ๐ ๐ก๐ค ๐จ๐๐๐๐จ!!`])}`
//let s = `Bienvenido al Multijuegos Aleeatorios`
const templateButtonsReplyMessage = [
{index: 1, urlButton: {displayText: '๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ', url: 'https://github.com/GataNina-Li/GataBot-MD'}},
{index: 2, urlButton: {displayText: '๐๐ฃ๐จ๐ฉ๐๐๐ง๐๐ข', url: 'https://www.instagram.com/gata_dios/'}},
{index: 3, quickReplyButton: {displayText: '๐๐ฃ๐๐๐๐๐ง | ๐๐ฉ๐๐ง๐ฉ โจ', id: '.juegos'}},
{index: 4, quickReplyButton: {displayText: '๐๐๐ฃ๐ช ๐
๐ช๐๐๐ค๐จ | ๐๐๐ข๐๐จ ๐๐๐ฃ๐ช ๐ก', id: '#juegosmenu'}},
{index: 5, quickReplyButton: {displayText: '๐๐ค๐ก๐ซ๐๐ง ๐๐ก ๐๐๐ฃ๐ชฬ | ๐ฝ๐๐๐ ๐ฉ๐ค ๐๐๐ฃ๐ช โ๏ธ', id: '#menu'}},
]
let t = {
text: global.wm,
footer: `๐ฝ๐๐๐ฃ๐ซ๐๐ฃ๐๐๐ค(๐) ${username}\n๐
๐ช๐๐๐ ๐ช๐ฃ๐ ๐๐ง๐๐ฃ ๐ซ๐๐ง๐๐๐๐๐ ๐๐ ๐๐ช๐๐๐ค๐จ!!`,
templateButtons: templateButtonsReplyMessage
}
conn.sendMessage(m.chat, t, m)
}
if (command == 'juegos') {
global.db.data.users[m.sender].money += 5
let gata = `${pickRandom([`๐๐ช๐๐๐๐จ ๐๐๐ฃ๐๐ง ๐ฟ๐๐๐ข๐๐ฃ๐ฉ๐๐จ ๐๐ก ๐
๐ช๐๐๐ง!!`,`๐๐๐๐ช๐ ๐๐ช๐๐๐ฃ๐๐ค ๐ฅ๐๐ง๐ ๐๐๐ฃ๐๐ง ๐๐๐ฉ๐๐พ๐ค๐๐ฃ๐จ!!`,`๐๐๐๐๐๐จ ๐ฆ๐ช๐ ๐ฅ๐ช๐๐๐๐จ ๐๐๐ฃ๐๐ง ๐๐ญ๐ฅ๐๐ง๐๐๐ฃ๐๐๐ ๐๐ก ๐
๐ช๐๐๐ง? ๐ผ๐๐ค๐ง๐ ๐ฎ๐ ๐ก๐ค ๐จ๐๐๐๐จ!!`])}`
let c = `${usedPrefix}`
let juegos = `${pickRandom([`${c}reto`,`${c}verdad`,`${c}topgays`,`${c}topotakus`,`${c}mates medium`,`${c}mates noob`])}`
let juegos2 = `${pickRandom([`${c}reto`,`${c}verdad`,`${c}formarpareja`,`${c}ppt tijeras`,`${c}ppt piedra`])}`
let juegos3 = `${pickRandom([`${c}gay`,`${c}ppt papel`,`${c}pregunta Soy Pro en el Grupo?`,`${c}mates impossible2`,`${c}rata Yo`])}`
let emojis1 = `${pickRandom([`๐ฆ`,`๐ฎ`,`๐ฆ`,`๐ป`,`๐`,`๐`,`๐
`,`๐`])}`
let emojis2 = `${pickRandom([`๐`,`โฎ๏ธ`,`โช๏ธ`,`โฏ๏ธ`,`๐๏ธ`,`โธ๏ธ`,`โก๏ธ`,`๐ฏ`])}`
let emojis3 = `${pickRandom([`๐ธ`,`๐`,`๐`,`๐ง `,`โ๏ธ`,`๐ค`,`๐ข`,`๐`])}`
let ss = await `๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ | ๐๐๐ฉ๐ ๐ฟ๐๐ค๐จ`
const templateButtonsReplyMessage = [
{index: 1, urlButton: {displayText: '๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ', url: 'https://github.com/GataNina-Li/GataBot-MD'}},
{index: 2, urlButton: {displayText: '๐๐ฃ๐จ๐ฉ๐๐๐ง๐๐ข', url: 'https://www.instagram.com/gata_dios/'}},
{index: 3, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis1}`, id: juegos}},
{index: 4, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis2}`, id: juegos2}},
{index: 5, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis3}`, id: juegos3}},
]
let tt = {
text: ss,
footer: gata,
templateButtons: templateButtonsReplyMessage
}
conn.sendMessage(m.chat, tt, m)
}
if (command == 'juegos') {
global.db.data.users[m.sender].money += 10
let gata = `${pickRandom([`๐ฟ๐๐ข๐ช๐๐จ๐ฉ๐ง๐ ๐ฆ๐ช๐ ๐ฅ๐ช๐๐๐๐จ ๐ก๐ก๐๐๐๐ง ๐๐ก ๐๐ค๐ฅ 1!!`,`๐๐๐๐ฃ๐ฉ๐ง๐๐จ ๐ข๐๐จ ๐
๐ช๐๐๐๐จ ๐ฉ๐ช ๐๐๐ฃ๐๐ค ๐ฉ๐๐ข๐๐๐๐ฃ ๐จ๐ช๐๐๐ง๐!!`,`๐๐๐ง๐ฉ๐๐๐๐ฅ๐ ๐๐ฃ ๐๐ก ๐ข๐ค๐๐ค ๐๐ช๐ก๐ฉ๐๐๐ช๐๐๐ค๐จ ๐ฎ ๐๐๐ฃ๐ ๐ง๐๐๐ค๐ข๐ฅ๐๐ฃ๐จ๐๐จ!!`])}`
let c = `${usedPrefix}`
let juegos = `${pickRandom([`${c}lesbiana Yo`,`${c}doxxear`,`${c}pajero Yo`,`${c}love Tรบ Mejor Amigo/a`,`${c}reto`,`${c}verdad`,`${c}ppt piedra`,`${c}puta Yo`,`${c}mates medium`,`${c}simi Que`])}`
let juegos2 = `${pickRandom([`${c}ppt piedra`,`${c}mates noob`,`${c}pregunta El cielo y el infierno existen?`,`${c}pregunta Hay una sola vida?`,`${c}pregunta Los robots y androides podrรกn tener sentimientos en algรบn momento?`,`${c}pregunta De verdad el universo es infinito?`,`${c}pajera Yo`,`${c}manca Yo`,`${c}manco Yo`,`${c}pregunta Hay un destino?`,`${c}pregunta Se puede tener todo lo que se quiere?`])}`
let juegos3 = `${pickRandom([`${c}puto รl de arriba`,`${c}puta La de arriba`,`${c}pregunta Se puede viajar en el tiempo?`,`${c}pregunta Hay un solo Universo?`,`${c}rata Yo`,`${c}mates impossible`,`${c}prostituto Yo`,`${c}prostituta Yo`,`${c}pregunta Soy Pro en el Grupo?`,`${c}mates impossible2`,`${c}rata Yo`])}`
let emojis1 = `${pickRandom([`๐`,`๐ณ`,`๐ค`,`๐ค `,`๐คญ`,`๐`,`๐`,`๐ฅด`])}`
let emojis2 = `${pickRandom([`๐ต๐ปโโ๏ธ`,`๐ต๐ฝโโ๏ธ`,`๐ต๐ปโโ๏ธ`,`๐ต๐พโโ๏ธ`,`๐ฉ๐ฟโโ๏ธ`,`๐ง๐ฟโโ๏ธ`,`๐ฉ๐ปโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ฉ๐ผโโ๏ธ`,`๐ง๐ผโโ๏ธ`,`๐ฉ๐ปโ๐ณ`,`๐ง๐ฝโ๐ณ`,`๐ฉ๐พโ๐ณ`,`๐ง๐ฟโ๐ณ`,`๐ฉ๐ปโ๐`,`๐ฉ๐ผโ๐`,`๐ง๐พโ๐`,`๐ง๐ปโ๐`,`๐ฉ๐ฟโ๐`,`๐ง๐พโ๐`,`๐ฉ๐ฝโ๐`,`๐ง๐ฝโ๐`,`๐ฉ๐ปโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ฉ๐ฝโโ๏ธ`,`๐ง๐พโโ๏ธ`,`๐ฉ๐ผโโ๏ธ`,`๐ง๐ผโโ๏ธ`,`๐ง๐พโโ๏ธ`,`๐ง๐พโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ง๐ปโโ๏ธ`,`๐ง๐ฟโโ๏ธ`,`๐ง๐ฟโโ๏ธ`,`๐ง๐ฝโโ๏ธ`,`๐ง๐ฝโโ๏ธ`,`๐งโโ๏ธ`,`๐งโโ๏ธ`,`๐ฉ๐ปโ๐จ`,`๐ฉ๐ผโ๐จ`,`๐ฉ๐ฟโ๐จ`,`๐ง๐ปโ๐จ`,`๐ง๐ผโ๐จ`,`๐ง๐ฟโ๐จ`])}`
let emojis3 = `${pickRandom([`๐`,`๐`,`๐`,`๐ก`,`๐จ`,`๐ฅง`,`๐`,`๐`,`๐ซ`,`๐ซ`,`๐`,`๐ฉ`,`๐ช`,`๐ฟ`])}`
let sss = await `๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ | ๐๐๐ฉ๐ ๐ฟ๐๐ค๐จ`
const templateButtonsReplyMessage = [
{index: 1, urlButton: {displayText: '๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ', url: 'https://github.com/GataNina-Li/GataBot-MD'}},
{index: 2, urlButton: {displayText: '๐๐ฃ๐จ๐ฉ๐๐๐ง๐๐ข', url: 'https://www.instagram.com/gata_dios/'}},
{index: 3, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis1}`, id: juegos}},
{index: 4, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis2}`, id: juegos2}},
{index: 5, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis3}`, id: juegos3}},
]
let ttt = {
text: sss,
footer: gata,
templateButtons: templateButtonsReplyMessage
}
conn.sendMessage(m.chat, ttt, m)
}
if (command == 'juegos') {
global.db.data.users[m.sender].exp += 20
let gata = `${pickRandom([`๐๐ก๐๐๐ ๐๐ช ๐๐ข๐ค๐๐ ๐๐๐ซ๐ค๐ง๐๐ฉ๐ค ๐ฅ๐๐ง๐ ๐
๐ช๐๐๐ง!!`,`๐ผ๐๐๐ซ๐๐ฃ๐ ๐๐ก ๐๐ง๐ค๐ญ๐๐ข๐ค ๐
๐ช๐๐๐ค!!`,`๐ผ๐๐๐ซ๐๐ฃ๐ ๐๐ก ๐๐ง๐ค๐ญ๐๐ข๐ค ๐
๐ช๐๐๐ค!!`,`๐๐๐ฃ๐๐๐ช๐๐๐ค๐จ ๐๐จ๐ฉรก๐ฃ ๐๐จ๐ฅ๐๐ง๐๐ฃ๐๐ค ๐๐ฃ ๐จ๐๐ง ๐
๐ช๐๐๐๐ค๐จ!!`])}`
let c = `${usedPrefix}`
let juegos = `${pickRandom([`${c}lesbiana Yo`,`${c}doxxear`,`${c}pajero Yo`,`${c}love Tรบ Mejor Amigo/a`,`${c}reto`,`${c}verdad`,`${c}ppt piedra`,`${c}puta Yo`,`${c}mates medium`,`${c}simi Que`])}`
let juegos2 = `${pickRandom([`${c}ppt piedra`,`${c}mates noob`,`${c}pregunta El cielo y el infierno existen?`,`${c}pregunta Hay una sola vida?`,`${c}pregunta Los robots y androides podrรกn tener sentimientos en algรบn momento?`,`${c}pregunta De verdad el universo es infinito?`,`${c}pajera Yo`,`${c}manca Yo`,`${c}manco Yo`,`${c}pregunta Hay un destino?`,`${c}pregunta Se puede tener todo lo que se quiere?`])}`
let juegos3 = `${pickRandom([`${c}puto รl de arriba`,`${c}puta La de arriba`,`${c}pregunta Se puede viajar en el tiempo?`,`${c}pregunta Hay un solo Universo?`,`${c}rata Yo`,`${c}mates impossible`,`${c}prostituto Yo`,`${c}prostituta Yo`,`${c}pregunta Soy Pro en el Grupo?`,`${c}mates impossible2`,`${c}rata Yo`])}`
let emojis1 = `${pickRandom([`๐`,`๐ฒ`,`๐ด`,`๐ฑ`,`๐ฟ`,`โ๏ธ`,`๐`,`๐`,`๐`,`๐`,`๐`,`๐ท`,`๐น`,`๐`,`๐ผ`,`๐ป`,`๐บ`,`๐ธ`])}`
let emojis2 = `${pickRandom([`โค๏ธ`,`๐งก`,`๐`,`๐`,`๐`,`๐`,`๐ค`,`๐`,`โค๏ธโ๐ฅ`,`โค๏ธโ๐ฉน`,`โฃ๏ธ`,`๐`,`๐`,`๐`,`๐`,`๐`,`๐`,`๐`])}`
let emojis3 = `${pickRandom([`๐ฅ`,`๐ฅ`,`๐ฃ`,`๐`,`๐`,`๐`,`โจ`,`โญ`,`๐ซ`,`๐`,`๐`,`๐ฅ`,`๐ฅ`,`โ๏ธ`,`โ๏ธ`,`โฑ๏ธ`,`๐ฟ`,`๐ฎ`])}`
let ssss = await `๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ | ๐๐๐ฉ๐ ๐ฟ๐๐ค๐จ`
const templateButtonsReplyMessage = [
{index: 1, urlButton: {displayText: null, url: null}},
{index: 2, urlButton: {displayText: null, url: null}},
{index: 3, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis1}`, id: juegos}},
{index: 4, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis2}`, id: juegos2}},
{index: 5, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis3}`, id: juegos3}},
]
let tttt = {
text: ssss,
footer: `${gata}`,
templateButtons: templateButtonsReplyMessage
}
conn.sendMessage(m.chat, tttt, m)
}
if (command == 'juegos') {
global.db.data.users[m.sender].exp += 20
let gata = `${pickRandom([`๐พ๐๐ง๐๐ ๐ข๐๐จ ๐
๐ช๐๐๐ค๐จ ๐ช๐จ๐๐ฃ๐๐ค ๐๐ก ๐ฝ๐ค๐ฉ๐ค๐ฃ ๐๐๐จ ๐
๐ช๐๐๐ค๐จ!!`,`๐ฟ๐๐ฃ๐๐ข๐๐๐๐จ, ๐๐๐ฉ๐ค๐จ, ๐ผ๐ฅ๐ช๐๐จ๐ฉ๐๐จ, ๐๐ฉ๐๐ฆ๐ช๐๐ฉ๐๐จ ๐ฎ ๐ข๐ช๐๐๐ค ๐ข๐๐จ!!`])}`
let c = `${usedPrefix}`
let juegos2 = `${pickRandom([`${c}ppt piedra`,`${c}mates noob`,`${c}pregunta El cielo y el infierno existen?`,`${c}pregunta Hay una sola vida?`,`${c}pregunta Los robots y androides podrรกn tener sentimientos en algรบn momento?`,`${c}pregunta De verdad el universo es infinito?`,`${c}pajera Yo`,`${c}manca Yo`,`${c}manco Yo`,`${c}pregunta Hay un destino?`,`${c}pregunta Se puede tener todo lo que se quiere?`])}`
let juegos3 = `${pickRandom([`${c}puto รl de arriba`,`${c}puta La de arriba`,`${c}pregunta Se puede viajar en el tiempo?`,`${c}pregunta Hay un solo Universo?`,`${c}rata Yo`,`${c}mates impossible`,`${c}prostituto Yo`,`${c}prostituta Yo`,`${c}pregunta Soy Pro en el Grupo?`,`${c}mates impossible2`,`${c}rata Yo`])}`
let emojis1 = `${pickRandom([`๐ณ๏ธ`,`๐ด`,`๐ดโโ ๏ธ`,`๐`,`๐ฉ`,`๐ณ๏ธโ๐`,`๐ณโโง`,`๐ง๐ท`,`๐จ๐ฑ`,`๐ฆ๐ท`,`๐ง๐ด`,`๐ป๐ช`,`๐ญ๐ณ`,`๐บ๐พ`,`๐จ๐ด`,`๐ต๐ช`,`๐ต๐ฆ`,`๐ณ๐ฎ`,`๐ฌ๐น`,`๐จ๐บ`,`๐จ๐ท`,`๐ญ๐น`,`๐ฉ๐ด`,`๐ฒ๐ฝ`,`๐ธ๐ป`,`๐ฌ๐พ`,`๐บ๐ธ`,`๐จ๐ฆ`,`๐ฑ๐จ`,`๐ช๐จ`])}`
let emojis2 = `${pickRandom([`๐`,`๐`,`๐`,`๐`,`๐๏ธ`,`๐`,`๐`,`๐`,`๐`,`๐ `,`๐`,`๐
`,`๐๏ธ`,`๐`,`๐พ`,`๐๏ธ`,`๐๏ธ`,`๐๏ธ`,`๐ผ`,`๐ฝ`,`๐บ๏ธ`,`๐๏ธ`])}`
let ssss = await `๐๐๐ฉ๐๐ฝ๐ค๐ฉ-๐๐ฟ | ๐๐๐ฉ๐ ๐ฟ๐๐ค๐จ`
const templateButtonsReplyMessage = [
{index: 1, urlButton: {displayText: null, url: null}},
{index: 2, urlButton: {displayText: null, url: null}},
{index: 3, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis1}`, id: juegos2}},
{index: 4, quickReplyButton: {displayText: `๐
๐ช๐๐๐ง ${emojis2}`, id: juegos3}},
{index: 5, quickReplyButton: {displayText: '๐ ๐๐๐จ ๐
๐ช๐๐๐ค๐จ | ๐๐๐จ๐ฉ๐๐ง๐ฉ', id: '#juegos'}},
]
let tttt = {
text: ssss,
footer: gata,
templateButtons: templateButtonsReplyMessage
}
conn.sendMessage(m.chat, tttt, m)
}
}
handler.help = ['infomenu'].map(v => v + 'able <option>')
handler.tags = ['group', 'owner']
handler.command = ['multijuegos', 'juegos']
handler.group = true
//handler.exp = 200
//handler.money = 200
export default handler
const more = String.fromCharCode(8206)
const readMore = more.repeat(4001)
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(':')}
function pickRandom(list) {
return list[Math.floor(Math.random() * list.length)]}