-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.js
102 lines (88 loc) · 3.11 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
import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import fs from 'fs'
import dotenv from 'dotenv'
dotenv.config()
const defaultOwner = '917849917350';
// Check for the OWNERS environment variable; if not found, use the default
const ownervb = process.env.OWNERS || process.env.OWNER_NUMBER || 'your number'; // put your number here
const ownerlist = ownervb.split(';');
global.owner = [];
for (let i = 0; i < ownerlist.length; i++) {
global.owner.push([ownerlist[i], true]);
}
//
global.botname = process.env.BOTNAME || 'TOHID-KHAN';
global.pairingNumber = process.env.BOT_NUMBER || 'your number'; // put your number here
global.SESSION_ID = process.env.SESSION_ID || 'session id'; // put your session id here
global.mods = []
global.prems = []
global.allowed = ['917849917350', '918930358452']
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.canal = 'https://whatsapp.com/channel/0029VaGyP933bbVC7G0x0i2T'
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.xyz',
}
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.xyz': 'm2XBbNvz',
}
// Sticker WM
global.premium = 'true'
global.packname = 'TOHID-KHAN'
global.author = 'TohidTech'
global.menuvid = 'https://i.imgur.com/2Sp3cqD.mp4'
global.igfg = ' Follow on Instagram\nhttps://www.instagram.com/Tohidkhan6332'
global.dygp = 'https://whatsapp.com/channel/0029VaGyP933bbVC7G0x0i2T'
global.fgsc = 'https://github.com/Tohidkhan6332/TOHID-KHAN'
global.fgyt = 'https://youtube.com/@Tohidkhan_6332'
global.fgpyp = 'https://GitHub.com/Tohidkhan6332'
global.fglog = 'https://i.imgur.com/M1BzE37.jpeg'
global.thumb = fs.readFileSync('./assets/tohid.jpg')
global.wait = '⏳'
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()}`)
})