forked from SilvaTechB/silva-md-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
100 lines (88 loc) · 2.81 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
import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import fs from 'fs'
import dotenv from 'dotenv'
dotenv.config()
const ownervb = process.env.OWNERS || "254743706010"
const ownerlist = ownervb.split(';');
global.owner = [];
for (let i = 0; i < ownerlist.length; i += 2) {
const owner = [
ownerlist[i],
ownerlist[i + 1],
true
];
global.owner.push(owner);
}
//global.pairingNumber = "" //put your bot number here
global.mods = ['254743706010', '254700143167']
global.prems = ['254743706010', '254700143167', '254755267907']
global.allowed = ['254743706010', '254700143167']
global.keysZens = ['c2459db922', '37CC845916', '6fb0eff124']
global.keysxxx = keysZens[Math.floor(keysZens.length * Math.random())]
global.keysxteammm = [
'29d4b59a4aa687ca',
'5LTV57azwaid7dXfz5fzJu',
'cb15ed422c71a2fb',
'5bd33b276d41d6b4',
'HIRO',
'kurrxd09',
'ebb6251cc00f9c63',
]
global.keysxteam = keysxteammm[Math.floor(keysxteammm.length * Math.random())]
global.keysneoxrrr = ['5VC9rvNx', 'cfALv5']
global.keysneoxr = keysneoxrrr[Math.floor(keysneoxrrr.length * Math.random())]
global.lolkeysapi = ['GataDios']
global.APIs = {
// API Prefix
// name: 'https://website'
xteam: 'https://api.xteam.xyz',
dzx: 'https://api.dhamzxploit.my.id',
lol: 'https://api.lolhuman.xyz',
violetics: 'https://violetics.pw',
neoxr: 'https://api.neoxr.my.id',
zenzapis: 'https://zenzapis.xyz',
akuari: 'https://api.akuari.my.id',
akuari2: 'https://apimu.my.id',
nrtm: 'https://fg-nrtm.ddns.net',
bg: 'http://bochil.ddns.net',
fgmods: 'https://api-fgmods.ddns.net',
}
global.APIKeys = {
// APIKey Here
// 'https://website': 'apikey'
'https://api.xteam.xyz': 'd90a9e986e18778b',
'https://api.lolhuman.xyz': '85faf717d0545d14074659ad',
'https://api.neoxr.my.id': `${keysneoxr}`,
'https://violetics.pw': 'beta',
'https://zenzapis.xyz': `${keysxxx}`,
'https://api-fgmods.ddns.net': 'fg-dylux',
}
// Sticker WM
global.botname = process.env.BOTNAME
global.premium = 'true'
global.packname = 'silva'
global.author = 'silva'
global.menuvid = ''
global.igfg = ''
global.dygp = ''
global.fgsc = 'https://github.com/SilvaTechB/silva-md-bot'
global.fgyt = 'https://youtube.com/@silvaedits254'
global.fgpyp = 'https://youtube.com/@silvaedits254'
global.fglog = ''
global.thumb = fs.readFileSync('./jusorts/sylivanus.jpg')
global.wait = '*⌛ _SILVA MD ANALYSING..._*\n*▰▰▰▱▱▱▱▱*'
global.rwait = '⌛'
global.dmoji = '🤭'
global.done = '✅'
global.error = '❌'
global.xmoji = '🔥'
global.multiplier = 69
global.maxwarn = '3'
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})