-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.js
127 lines (114 loc) · 5.19 KB
/
settings.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
const fs = require('fs')
const path = require('path')
const chalk = require('chalk')
const { en, es, ar, id, pt, rs} = require('./libs/idiomas/total-idiomas.js')
//Numero que sera el propietario/owner del bot
global.owner = [["573147616444", "𝐎𝐖𝐍𝐄𝐑", true],
["593968585383"],
["5492266466080"],
["390684003755"],
["51948705559"],
["573012482597"],
["51935531943"],
["5217442363122"],
["5492266613038"]]
global.mods = []
global.premium = []
global.blockList = []
//Nombre del bot | versión
global.botname = "𝐈𝐧𝐟𝐢𝐧𝐢𝐭𝐲𝐁𝐨𝐭-𝐌𝐃"
global.vs = '1.0.0'
//Función beta : escribe el número que quiere que sea bot para que mande el Código de 8 digitos
global.botNumberCode = "" //Ejemplo: +59309090909
global.phoneNumber = ""
//---------[ FECHA/IDIOMAS ]---------
global.place = 'America/Bogota' // Aquí puedes encontrar tu ubicación https://momentjs.com/timezone/
global.lenguaje = es //Predeterminado en idioma Español
global.prefix = [`*`]
//---------[ APIS GLOBAL ]---------
global.keysZens = ['LuOlangNgentot', 'c2459db922', '37CC845916', '6fb0eff124', 'hdiiofficial', 'fiktod', 'BF39D349845E', '675e34de8a', '0b917b905e6f'];
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']; // ['BrunoSobrino_2']
global.itsrose = ['4b146102c4d500809da9d1ff'];
global.API = (name, path = '/', query = {}, apikeyqueryname) => (name in global.APIs ? global.APIs[name] : name) + path + (query || apikeyqueryname ? '?' + new URLSearchParams(Object.entries({...query, ...(apikeyqueryname ? {[apikeyqueryname]: global.APIKeys[name in global.APIs ? global.APIs[name] : name]} : {})})) : '');
global.APIs = {
//ApiEmpire: 'https://',
CFROSAPI: 'https://api.cafirexos.com',
nrtm: 'https://fg-nrtm.ddns.net',
fgmods: 'https://api.fgmods.xyz',
xteam: 'https://api.xteam.xyz',
dzx: 'https://api.dhamzxploit.my.id',
lol: 'https://api.lolhuman.xyz',
neoxr: 'https://api.neoxr.my.id',
zenzapis: 'https://api.zahwazein.xyz',
akuari: 'https://api.akuari.my.id',
akuari2: 'https://apimu.my.id',
botcahx: 'https://api.botcahx.biz.id',
ibeng: 'https://api.ibeng.tech/docs',
rose: 'https://api.itsrose.site',
popcat: 'https://api.popcat.xyz',
xcoders: 'https://api-xcoders.site',
vihangayt: 'https://vihangayt.me',
erdwpe: 'https://api.erdwpe.com',
xyroinee: 'https://api.xyroinee.xyz',
nekobot: 'https://nekobot.xyz'
},
global.APIKeys = {
'https://api.xteam.xyz': `${keysxteam}`,
'https://api.lolhuman.xyz': 'GataDios',
'https://api.neoxr.my.id': `${keysneoxr}`,
'https://api.zahwazein.xyz': `${keysxxx}`,
'https://api.fgmods.xyz': 'DRLg5kY7',
'https://api-fgmods.ddns.net': 'fg-dylux',
'https://api.botcahx.biz.id': 'Admin',
'https://api.ibeng.tech/docs': 'tamvan',
'https://api.itsrose.site': 'Rs-Zeltoria',
'https://api-xcoders.site': 'Frieren',
'https://api.xyroinee.xyz': 'uwgflzFEh6'
};
//---------[ STICKERS ]---------
global.packname = "ɪɴғɪɴɪᴛʏʙᴏᴛ-ᴍᴅ"
global.author = `${vs}`
//almacéna imagen url o el carpeta:
//global.imagen1 = fs.readFileSync('./[Direcion donde se encuentra la imagen]')
global.imagen1 = 'https://qu.ax/TPhh.jpg'
//Enlace | cuenta oficiales
global.md = 'https://github.com/elrebelde21/InfinityBot-MD'
global.yt = 'https://www.youtube.com/@elrebelde.21'
global.fb = 'https://www.facebook.com/elrebelde21'
global.faceb = 'https://www.facebook.com/groups/872989990425789/'
global.paypal = 'https://paypal.me/OfcGB'
global.panel = 'https://live.panel-infinitywa.store'
global.dash = 'https://dashboard.infinitywa.xyz'
global.host = 'https://chat.whatsapp.com/GQ82mPnSYnm0XL2hLPk7FV' //Infinity-host
global.nna = 'https://whatsapp.com/channel/0029Va4QjH7DeON0ePwzjS1A'
global.nn = 'https://chat.whatsapp.com/GQ82mPnSYnm0XL2hLPk7FV'
//---------[ INFO ]---------
global.info = { wait: '█▒▒▒▒▒▒▒▒▒10%',
waitt: '████▒▒▒▒▒▒30%',
waittt: '█████▒▒▒▒▒50%',
waitttt: '████████▒▒80%',
waittttt: '██████████100%',
result: `${lenguaje['exito']()}`,
admin: `${lenguaje['admin']()}`,
botAdmin: `${lenguaje['botAdmin']()}`,
owner: `${lenguaje['propietario']()}`,
group: `${lenguaje['group']()}`,
private: `${lenguaje['private']()}`,
bot: `${lenguaje['bot']()}`,
error: `${lenguaje['error']()}`,
registra: `${lenguaje['registra']()}`,
limit: `${lenguaje['limit']()}`,
endLimit: `${lenguaje['endLimit']()}`, }
let file = require.resolve(__filename) // Obtener la ruta completa del archivo
fs.watchFile(file, () => { // Observar cambios en el archivo
fs.unwatchFile(file)
const fileName = path.basename(file) // Nombre del archivo
console.log(chalk.greenBright.bold(`Archivo '${fileName}' actualizado.`)) // Imprimir mensaje en consola
delete require.cache[file] // Eliminar la caché para permitir la actualización de cambios
require(file) // Volvemos a cargar el archivo con los nuevos cambios
})