-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.js
75 lines (69 loc) · 2.08 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
global.owner = ['6281217779427'] // 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'
}
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'
}
// Sticker WM
global.packname = 'SAGIRI-MD'
global.author = 'By HilmySakti'
global.wm = '© SAGIRI BOT-MD Made With My Love ❤️'
global.media = 'https://telegra.ph/file/770f392987c3e273b99bb.jpg'
global.wait = '_*tunggu sedang di proses...*_'
global.eror = '_*Server Error Mohon Ulangi Lagi!*_'
global.multiplier = 120 // The higher, The harder levelup
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
exp: '✉️',
money: '💵',
potion: '🥤',
diamond: '💎',
common: '📦',
uncommon: '🎁',
mythic: '🗳️',
legendary: '🗃️',
pet: '🎁',
sampah: '🗑',
armor: '🥼',
sword: '⚔️',
kayu: '🪵',
batu: '🪨',
string: '🕸️',
kuda: '🐎',
kucing: '🐈' ,
anjing: '🐕',
petFood: '🍖',
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 fs = require('fs')
let chalk = require('chalk')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
delete require.cache[file]
require(file)
})