forked from ERLANRAHMAT/BETABOTZ-MD2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
94 lines (87 loc) · 2.74 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
// - Ubah nomor owner dan wm di sini.
// + Daftar apikey terlebih dahulu sebelum menggunakan svript ini link
//https://api.betabotz.org
//https://api.botcahx.live
// - Jika sudah mendaftar salin key yang ada di profie dan paste di global.lann && global.btc
// - Contoh global.btc = 'ngaksk?'//register di https://api.botcahx.live
// - Contoh global.lann = 'Ntahla' //register key di https://api.betabotz.org
// - Jika sudah maka lanjutkan untuk mengubah nomor owner dan wm.
// List Key
// Betabotz = digunakan hampir di semua fitur kecuali linkshort
// Botcahx = digunakan untuk linkshort saja
global.owner = ['6285842647866']
global.mods = ['6285842647866']
global.prems = ['6285842647866']
global.nameowner = 'Lann'
global.numberowner = '6285842647866'
global.mail = '[email protected]'
global.dana = '6281395861695'
global.pulsa = '6281395861695'
global.gopay = '6281395861695'
global.namebot = 'BOTCAHX'
global.gc = 'https://chat.whatsapp.com/Ln2vHjRrRayAbzalRMB56r'
global.web = 'https://github.com/BOTCAHX'
global.instagram = 'https://instagram.com/prm2.0'
global.wm = '© Tio'
global.watermark = wm
global.wm2 = '⫹⫺ Tio'
global.wm3 = '© Tio'
global.wm4 = '© BotWa'
global.wait = '_*Tunggu sedang di proses...*_'
global.eror = '_*Server Error*_'
global.benar = 'Benar ✅\n'
global.salah = 'Salah ❌\n'
global.stiker_wait = '*⫹⫺ Stiker sedang dibuat...*'
global.packname = 'Made with'
global.author = 'Bot WhatsApp'
//==> Apikey
global.lann = 'Your_Key_Here' //isi apikey mu https://api.betabotz.org
global.btc = 'Your_Key_Here'//Isi apikey di https://api.botcahx.live
global.APIs = {
lann: 'https://api.betabotz.org',
btc: 'https://api.botcahx.live'
}
global.APIKeys = {
'https://api.betabotz.org': 'Your_Key' //isi apikey mu https://api.betabotz.org
}
global.multiplier = 45
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)
})