-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.js
95 lines (79 loc) · 3.83 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
const fs = require('fs');
const path = require('path');
(async () => {
const chalk = await import('chalk'); // Importación dinámica
const { en, es, ar, id, pt, rs } = await import('./libs/idiomas/total-idiomas.js');
global.owner = [
["51997384622", "*CEO*", true],
["51994698733", "Owner"],
["56920071198", "Owner"],
["584124128141", "Owner"],
["5493777599874", "Staff"],
["573006199506", "Staff"],
[""],
[""],
[""]
];
global.mods = [];
global.premium = [];
global.blockList = [];
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 dígitos
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 = {
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 = {
// API keys configuration...
};
// ---------[ STICKERS ]---------
global.packname = "ShopBot-MD";
global.author = `${vs}`;
// Almacéna imagen url o el carpeta:
global.imagen1 = 'https://qu.ax/TPhh.jpg';
// Enlace | cuentas oficiales
// ...
// ---------[ INFO ]---------
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
});
})();