-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
config.js
107 lines (97 loc) · 3.17 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
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import { watchFile, unwatchFile, readFileSync } from 'fs'
global.owner =
[
['+62 815-1148-0762', 'YahyaGanzz'],
['+62 815-1148-0762'],
['+62 815-1148-0762']
]
// ['6285822347348', '6285822347348', '6285822347348']
// [number, dia creator/owner?, dia developer?]
// Put your number here
global.mods = [] // Want some help?
global.prems = [] // Premium user has unlimited limit
global.APIs = { // API Prefix
// name: 'https://website'
nrtm: 'https://nurutomo.herokuapp.com',
bg: 'http://bochil.ddns.net',
xteam: 'https://api.xteam.xyz',
zahir: 'https://zahirr-web.herokuapp.com',
zeks: 'https://api.zeks.xyz',
pencarikode: 'https://pencarikode.xyz',
LeysCoder: 'https://leyscoders-api.herokuapp.com',
violetics: 'https://violetics.pw',
rrul: 'https://api-rull.herokuapp.com',
hadi: 'http://hadi-api.herokuapp.com'
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
'https://api.xteam.xyz': 'd90a9e986e18778b',
'https://zahirr-web.herokuapp.com': 'zahirgans',
'https://api.zeks.xyz': 'apivinz',
'https://pencarikode.xyz': 'pais',
'https://leyscoders-api.herokuapp.com': 'dappakntlll',
'https://violetics.pw': 'beta'
}
/* global.thumbnailUrl = [
'https://telegra.ph/file/81260a8b9e8cff26d2b48.jpg', 'https://telegra.ph/file/ac4928f0824a2a0492737.jpg',
'https://telegra.ph/file/6359b013bc7e52c3b346f.jpg', 'https://telegra.ph/file/d43c89a5d2da72875ec05.jpg',
'https://telegra.ph/file/7d6c0e35f9c8f52715541.jpg', 'https://telegra.ph/file/ef4b742d47e6a9115e2ff.jpg',
'https://telegra.ph/file/55e5af5f33fbd57104187.jpg', 'https://telegra.ph/file/af236598456b95884bd15.jpg',
'https://telegra.ph/file/de92ed4a729887ffc974c.jpg', 'https://telegra.ph/file/00ce42a193b1dbbf907d4.jpg'
]
*/
// Sticker WM
global.packname = `\t\t「 ArullOfc 」\n\t\t「 IG: sahrulwara_____ 」\n\t\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n`
global.author = ''
global.thumb = readFileSync('./me.png')
global.thumb2 = readFileSync('./me2.jpeg')
global.multiplier = 69 // The higher, The harder levelup
//Text here
global.me = 'AzzBot-MD'
global.str = '-------------'
global.l = '「'
global.r = '」'
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
level: '🧬',
limit: '🌌',
health: '❤️',
exp: '✉️',
money: '💵',
potion: '🥤',
diamond: '💎',
common: '📦',
uncommon: '🎁',
mythic: '🗳️',
legendary: '🗃️',
pet: '🎁',
trash: '🗑',
armor: '🥼',
sword: '⚔️',
wood: '🪵',
rock: '🪨',
string: '🕸️',
horse: '🐎',
cat: '🐈',
dog: '🐕',
fox: '🦊',
petFood: '🍖',
iron: '⛓️',
gold: '👑',
emerald: '💚'
}
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]]
}
}
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.cyanBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})