-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.js
146 lines (138 loc) · 3.31 KB
/
config.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
/*
Powered by MoroccoAI & Hardy Host
*/
import './system/func/settings.js'
import { watchFile, unwatchFile } from 'fs'
import fs from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
// Owner
global.owner = [
['212660131536', 'Hardy', true],
['212705205397'],
['212646480851']
]
global.mods = []
global.prems = []
global.multiplier = 69
global.rwait = '⌛'
global.dmoji = '🤭'
global.done = '✅'
global.error = '❌'
global.rpg = {
emoticon(string) {
string = string.toLowerCase();
let emot = {
agility: '🤸♂️',
arc: '🏹',
armor: '🥼',
bank: '🏦',
bibitanggur: '🍇',
bibitapel: '🍎',
bibitjeruk: '🍊',
bibitmangga: '🥭',
bibitpisang: '🍌',
bow: '🏹',
bull: '🐃',
cat: '🐈',
chicken: '🐓',
common: '📦',
cow: '🐄',
crystal: '🔮',
darkcrystal: '♠️',
diamond: '💎',
dog: '🐕',
dragon: '🐉',
elephant: '🐘',
emerald: '💚',
exp: '✉️',
fishingrod: '🎣',
fox: '🦊',
gems: '🍀',
giraffe: '🦒',
gold: '👑',
health: '❤️',
horse: '🐎',
intelligence: '🧠',
iron: '⛓️',
keygold: '🔑',
keyiron: '🗝️',
knife: '🔪',
legendary: '🗃️',
level: '🧬',
limit: '🌌',
lion: '🦁',
magicwand: '⚕️',
mana: '🪄',
money: '💵',
mythic: '🗳️',
pet: '🎁',
petFood: '🍖',
pickaxe: '⛏️',
pointxp: '📧',
potion: '🥤',
rock: '🪨',
snake: '🐍',
stamina: '⚡',
strength: '🦹♀️',
string: '🕸️',
superior: '💼',
sword: '⚔️',
tiger: '🐅',
trash: '🗑',
uncommon: '🎁',
upgrader: '🧰',
wood: '🪵'
}
let results = Object.keys(emot).map(v => [v, new RegExp(v, 'gi')]).filter(v => v[1].test(string));
if (!results.length) return '';
else return emot[results[0][0]];
}
}
// Info
global.nomerbot = info.nomerbot
global.pairingNumber = info.pairingNumber
global.nomorwa = info.nomorwa
global.nameown = info.nameown
global.nomerown = info.nomerown
global.packname = info.packname
global.author = info.author
global.namebot = info.namebot
global.wm = info.wm
global.stickpack = info.stickpack
global.stickauth = info.stickauth
// Thumbnail
global.ppKosong = media.ppKosong
global.didyou = media.didyou
global.rulesBot = media.rulesBot
global.thumbnail = media.thumbnail
global.thumb = media.thumb
global.logo = media.logo
global.unReg = media.unReg
global.registrasi = media.registrasi
global.confess = media.confess
global.access = media.access
global.tqto = media.tqto
global.spotify = media.spotify
global.weather = media.weather
global.gempaUrl = media.gempaUrl
global.akses = media.akses
global.wel = media.wel
global.good = media.good
// Sosmed
global.sig = url.sig
global.sgh = url.sgh
global.sgc = url.sgc
// payment
global.pdana = payment.pdana
global.wait = msg.wait
global.eror = msg.eror
global.uptime = api.uptime
global.xyro = api.xyro
global.lol = api.lol
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})