-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
config.js
137 lines (125 loc) Β· 6.9 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
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
137
import {watchFile, unwatchFile} from 'fs';
import chalk from 'chalk';
import {fileURLToPath} from 'url';
import fs from 'fs';
import moment from 'moment-timezone';
global.botnumber = ""
global.confirmCode = ""
global.authFile = `MysticSession`;
// Cambiar a true si el Bot responde a sus comandos con otros comandos.
// Cambiar a false para usar el Bot desde el mismo numero del Bot.
// Error de m.isBaileys marcado como false fix temporal
global.isBaileysFail = false
global.defaultLenguaje = 'es';
global.owner = [
['5219992095479', 'π Mystic - Creador π', true],
['51940617554', 'π« Mystic - Collaborator 2 π«', true],
['51996089079', 'π« Mystic - Collaborator 3 π«', true],
['5218442286089', 'π« Mystic - Collaborator 4 π«', true],
['50246028932', 'π« Mystic - Collaborator 5 π«', true],
['5212412377467', 'π« Mystic - Collaborator 6 π«', true],
['5215517489568', 'π« Mystic - Rey Endymion π«', false],
['59895555511', 'π« Mystic - Collaborator 8 π«', true],
['573012482597', 'π« Mystic - DevDiego', true],
['59175655964', 'π« Mystic - By Alba070503 π«', true],
['5493794297363', 'π« Mystic - Gabriel Ofc', true],
['393518398856', 'π« Mystic - Tester Fabri115π«', true],
['212781160203', 'π« Mystic - Saad π«', true],
['5217778573223', 'π« Mystic - Sarethh π«', true],
['593968585283'],
['5492266466080'],
['5218442114446'],
['59894808483'],
['593980586516'],
['595975740803'],
['5492266613038'],
['50497150165'],
['51906662557'],
['573183650526'],
['5217441298510'],
['5217294888993'],
['595992611272'],
['5219992843892'],
['5493795319019'],
['573147616444'],
['5219991402134'],
['5219996125657'],
['5492215034412'],
['584125778026'],
['5492964650915'],
['5218444937407'],
['5218713339906']
];
global.suittag = ['5219993404349'];
global.prems = ['51995386439'];
// API
global.BASE_API_DELIRIUS = "https://deliriussapi-oficial.vercel.app";
global.packname = 'Sticker';
global.author = 'The Mystic - Bot';
global.wm = 'The Mystic - Bot';
global.titulowm = 'The Mystic - Bot';
global.titulowm2 = `The Mystic - Bot`
global.igfg = 'The Mystic - Bot';
global.wait = '*_[ β³ ] Cargando..._*';
/*global.imagen1 = fs.createReadStream('./src/assets/images/menu/languages/es/menu.png');
global.imagen2 = fs.createReadStream('./src/assets/images/menu/languages/pt/menu.png');
global.imagen3 = fs.createReadStream('./src/assets/images/menu/languages/fr/menu.png');
global.imagen4 = fs.createReadStream('./src/assets/images/menu/languages/en/menu.png');
global.imagen5 = fs.createReadStream('./src/assets/images/menu/languages/ru/menu.png');*/
global.imagen1 = fs.readFileSync('./src/assets/images/menu/languages/es/menu.png');
global.imagen2 = fs.readFileSync('./src/assets/images/menu/languages/pt/menu.png');
global.imagen3 = fs.readFileSync('./src/assets/images/menu/languages/fr/menu.png')
global.imagen4 = fs.readFileSync('./src/assets/images/menu/languages/en/menu.png')
global.imagen5 = fs.readFileSync('./src/assets/images/menu/languages/ru/menu.png')
global.mods = [];
//* *******Tiempo***************
global.d = new Date(new Date + 3600000);
global.locale = 'es';
global.dia = d.toLocaleDateString(locale, {weekday: 'long'});
global.fecha = d.toLocaleDateString('es', {day: 'numeric', month: 'numeric', year: 'numeric'});
global.mes = d.toLocaleDateString('es', {month: 'long'});
global.aΓ±o = d.toLocaleDateString('es', {year: 'numeric'});
global.tiempo = d.toLocaleString('en-US', {hour: 'numeric', minute: 'numeric', second: 'numeric', hour12: true});
//* ****************************
global.wm2 = `${dia} ${fecha}\nThe Mystic - Bot`;
global.gt = 'The Mystic - Bot';
global.mysticbot = 'The Mystic - Bot';
global.channel = 'https://whatsapp.com/channel/0029Vaein6eInlqIsCXpDs3y';
global.md = 'https://github.com/BrunoSobrino/TheMystic-Bot-MD';
global.mysticbot = 'https://github.com/BrunoSobrino/TheMystic-Bot-MD';
global.waitt = '*_[ β³ ] Cargando..._*';
global.waittt = '*_[ β³ ] Cargando..._*';
global.waitttt = '*_[ β³ ] Cargando..._*';
global.nomorown = '5219993404349';
global.pdoc = ['application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/msword', 'application/pdf', 'text/rtf'];
global.cmenut = 'βββββββγ';
global.cmenub = 'ββ¦ ';
global.cmenuf = 'β°βββ
ββββββββΰΉ\n';
global.cmenua = '\nβ ββββββββββββββββββββββββββββββββ β\n ';
global.dmenut = '*βββ
βββ
β©*';
global.dmenub = '*βΒ»*';
global.dmenub2 = '*β*';
global.dmenuf = '*β°β
βββββββββ
β¦*';
global.htjava = 'β«Ήβ«Ί';
global.htki = '*ββ’Μ©Μ©Νβ±β’β’β’β’ βͺ*';
global.htka = '*βͺ β’β’β’β’Μ©Μ©Νβ°β’β*';
global.comienzo = 'β’ β’ ββββββ';
global.fin = 'ββββββ β’ β’';
global.botdate = `*[ π
] Fecha:* ${moment.tz('America/Mexico_City').format('DD/MM/YY')}`;
global.bottime = `*[ β³ ] Hora:* ${moment.tz('America/Mexico_City').format('HH:mm:ss')}`;
global.fgif = {key: {participant: '[email protected]'}, message: {'videoMessage': {'title': wm, 'h': `Hmm`, 'seconds': '999999999', 'gifPlayback': 'true', 'caption': bottime, 'jpegThumbnail': fs.readFileSync('./src/assets/images/menu/languages/es/menu.png')}}};
global.multiplier = 99;
global.flaaa = [
'https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=water-logo&script=water-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextColor=%23000&shadowGlowColor=%23000&backgroundColor=%23000&text=',
'https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=crafts-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&text=',
'https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=amped-logo&doScale=true&scaleWidth=800&scaleHeight=500&text=',
'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&text=',
'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&fillColor1Color=%23f2aa4c&fillColor2Color=%23f2aa4c&fillColor3Color=%23f2aa4c&fillColor4Color=%23f2aa4c&fillColor5Color=%23f2aa4c&fillColor6Color=%23f2aa4c&fillColor7Color=%23f2aa4c&fillColor8Color=%23f2aa4c&fillColor9Color=%23f2aa4c&fillColor10Color=%23f2aa4c&fillOutlineColor=%23f2aa4c&fillOutline2Color=%23f2aa4c&backgroundColor=%23101820&text=',
];
//* ************************
const file = fileURLToPath(import.meta.url);
watchFile(file, () => {
unwatchFile(file);
console.log(chalk.redBright('Update \'config.js\''));
import(`${file}?update=${Date.now()}`);
});