forked from sadteams/bot-md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
137 lines (125 loc) Β· 4.32 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
let fs = require('fs')
global.owner = JSON.parse(fs.readFileSync('./src/owner.json')) // Put your number to /src/owner.json
global.mods = JSON.parse(fs.readFileSync('./src/moderator.json')) // Want some help?
global.thumbt = global.img
global.fsx = 999999999999
global.kontak = [
['6282373158947', 'Radhin ', true],
['6281273778346', 'Leviathan-MD [BOT MD]', true]
]
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://api.neoxr.eu.org',
amel: 'https://melcanz.com',
hardianto: 'https://hardianto.xyz',
lol: 'https://api.lolhuman.xyz'
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
'https://api.neoxr.eu.org': 'yntkts',
'https://api.xteam.xyz': 'Apikeys',
'https://melcanz.com': 'Apikeys',
'https://api.lolhuman.xyz': 'Apikeys',
'https://zahirr-web.herokuapp.com': 'zahirgans',
'https://api.zeks.me': 'apivinz',
'https://pencarikode.xyz': 'pais',
'https://hardianto.xyz': 'hardianto',
'https://leyscoders-api.herokuapp.com': 'dappakntlll'
}
global.WM = 'π©π Leviathan corporation'
global.linkgc = 'https://chat.whatsapp.com/LhpFRMqsKkn6nrCCf1He9R'
global.linkig = 'https://www.instagram.com/radhin_al_haady'
global.deslink = 'https://github.com/radhin123'
global.titlink = 'Folllow me on Instagram'
global.bodlink = '@radhin_al_haady'
global.wait = '_*π¬ππππ§π ππ’ π©π«π¨π¬ππ¬ ...*_'
global.eror = '_*ΠΌΞ±Ξ±Ζ ΡΡΡΞ½ΡΡ ΡΞΉβΞ±ΠΊ ΡΡΞ±Π²ΞΉβ..*_'
//========Url Template Buttons==========//
global.dtu = 'ππππππ'
global.urlnya = "https://www.instagram.com/radhin_al_haady"
//============= callButtons ============//
global.dtc = 'ππππ πππππ'
global.phn = '+62 823-7315-8947'
//========== Tampilan Bot =============//
global.sa = 'ββ'
global.gx = 'ββ'
global.gy = 'ββ’'
global.gz = 'β'
global.sb = 'β°ββββΰΏ'
global.kki = 'γ'
global.kka = 'γ'
global.zt = '*'
global.zc = ''
global.thumbnailUrl = [
'./src/logo.jpg'
]
/*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'
] */
//============= Games ================//
global.benar = '_*Benarβ
*_'
global.salah = '_*Salahβ*_'
global.dikit = "dikit lagi, semangat ya :')"
global.multiplier = 100 // The higher, The harder levelup
//=========== Requirements ==========//
global.baileys = require('@adiwajshing/baileys')
global.fs = require('fs')
global.data = JSON.parse(fs.readFileSync('./data.json'))
global.fetch = require('node-fetch')
global.bochil = require('@bochilteam/scraper')
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)
})