forked from RaaaGH/RaaBotz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
136 lines (124 loc) · 4.28 KB
/
config.js
File metadata and controls
136 lines (124 loc) · 4.28 KB
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
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 = [
['6282171432358', 'Nomor Owner',true],
['6281287142545', 'TOLONG JGN SPAM', 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': 'apikeyaine',
'https://melcanz.com': 'elaina',
'https://api.lolhuman.xyz': 'apikeyaine',
'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.linkyt = 'https://youtu.be/ELPp9VU4qlA'
global.WM = 'SUBSCRIBE ALEX PAKEL'
global.linkgc = 'https://chat.whatsapp.com/E1TElUfSJY63Cs9WqNjEEC'
global.linkig = 'https://www.instagram.com/al_pakel'
global.deslink = ''
global.logo = 'https://telegra.ph/file/dffdaf0e8d59ad104e526.jpg'
global.titlink = 'Folllow me on Instagram'
global.bodlink = '@al_pakel'
global.wait = '_*Memproses harap menunggu... Jika tidak ada modul bot error*_'
global.eror = '_*мααƒ ѕєяνєя тι∂αк ѕтαвιℓ..*_'
//========Url Template Buttons==========//
global.dtu = '🌏 GROUP BOT OFFICIAL'
global.urlnya = global.linkgc
//============= callButtons ============//
global.dtc = 'Subs Alex Pakel'
global.phn = '+62 821-7143-2358'
//========== Tampilan Bot =============//
global.sa = '╭─'
global.gx = '│✇'
global.gy = '│•'
global.gz = '│'
global.sb = '╰────࿐'
global.kki = '「'
global.kka = '」'
global.zt = '*'
global.zc = ''
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)
})