forked from balhisyhrl/Anon-BOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
134 lines (120 loc) Β· 4.09 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
let fs = require('fs')
let flaaa = JSON.parse(fs.readFileSync('./api/fla.json'))
let waifu = JSON.parse(fs.readFileSync('./api/waifu.json'))
let gembi = JSON.parse(fs.readFileSync('./api/gembi.json'))
let bucin = JSON.parse(fs.readFileSync('./api/bucin.json'))
let data = JSON.parse(fs.readFileSync('./data.json'))
global.owner = JSON.parse(fs.readFileSync('./settings/owner.json')) // Put your number to folder /src/owner.json
global.mods = JSON.parse(fs.readFileSync('./settings/moderator.json')) // Want some help?
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.me',
pencarikode: 'https://pencarikode.xyz',
LeysCoder: 'https://leyscoders-api.herokuapp.com',
neoxr: 'https://neoxr-api.herokuapp.com',
amel: 'https://melcanz.com',
hardianto: 'https://hardianto.xyz',
lol: 'https://api.lolhuman.xyz',
adicug: 'https://api.adiofficial.xyz',
males: 'https://malest.herokuapp.com'
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
'https://neoxr-api.herokuapp.com': 'apikeylu',
'https://api.xteam.xyz': 'apikeylu',
'https://melcanz.com': 'apikeylu',
'https://api.lolhuman.xyz': 'apikeylu',
'https://zahirr-web.herokuapp.com': 'apikeylu',
'https://api.zeks.me': 'apikeylu',
'https://pencarikode.xyz': 'apikeylu',
'https://hardianto.xyz': 'hardianto',
'https://leyscoders-api.herokuapp.com': 'apikeylu',
'https://api.adiofficial.xyz': 'apikeylu'
}
global.wait = '_*π¬ππππ§π ππ’ π©π«π¨π¬ππ¬ ...*_'
global.eror = '_*ΠΌΞ±Ξ±Ζ ΡΡΡΞ½ΡΡ ΡΞΉβΞ±ΠΊ ΡΡΞ±Π²ΞΉβ..*_'
//========Url Template Buttons=========//
global.dtu = 'ΙͺΙ΄κ±α΄α΄Ι’Κα΄α΄'
global.urlnya = "https://www.instagram.com/balhisyhrl"
global.gcbot = 'Ι’Κα΄α΄α΄© Κα΄α΄'
global.gcurl = "https://chat.whatsapp.com/xxxxxxxxx"
//============= callButtons =============//
global.dtc = 'α΄α΄ΚΚ α΄α΄‘Ι΄α΄Κ'
global.phn = '+62 8156299020'
global.kontakOwn = [
['6285156299020', 'Bal', 'Owner Κα΄α΄', '[email protected]', true],
['6285156299020', 'Iqbal', 'Owner Κα΄α΄', '[email protected]', true],
]
//============= Games ================//
global.benar = '_*Benarβ
*_'
global.salah = '_*Salahβ*_'
global.dikit = "dikit lagi, semangat ya :')"
global.multiplier = 100 // The higher, The harder levelup
// Sticker WM
global.packname = data.namabot
global.author = data.owner
//=========== Requirements ==========//
global.colong1 = 'Anon'
global.colong2 = 'Anon'
global.img = pickRandom(waifu)
global.fla = pickRandom(flaaa)
//=========== Update? ==========//
global.iklanOwner = `IKLAN`
global.igsessionID = data.sessionID
global.iguserID = data.userID
global.gembi = gembi
global.bucin = bucin
global.grupcurhat = '[email protected]'
global.pinhead = `_auth=1; _b=\"${data.pinterest_b}\"; _pinterest_sess=${data.pinterest_sess}; _ir=0`
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
level: 'π§¬',
limit: 'π',
healt: 'β€οΈ',
exp: 'βοΈ',
money: 'π΅',
potion: 'π₯€',
diamond: 'π',
common: 'π¦',
uncommon: 'π',
mythic: 'π³οΈ',
legendary: 'ποΈ',
pet: 'π',
sampah: 'π',
armor: 'π₯Ό',
fishingrod: 'π£',
pickaxe: 'βοΈ',
sword: 'βοΈ',
kayu: 'πͺ΅',
batu: 'πͺ¨',
iron: 'βοΈ',
string: 'πΈοΈ',
kuda: 'π',
kucing: 'π' ,
anjing: 'π',
makananpet: 'π',
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 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)
})
function pickRandom(list) {
return list[Math.floor(list.length * Math.random())]
}