Skip to content

Commit

Permalink
ActualizaciΓ³n masiva
Browse files Browse the repository at this point in the history
Se esta reemplazando los audios y multimedia del bot local por almacenamiento en lΓ­nea redundante en baja latencia ademΓ‘s de la eliminaciΓ³n de cΓ³digo de innecesario de el repositorio.
  • Loading branch information
Diego Flores committed Apr 9, 2024
1 parent ba5d3df commit 5f18a23
Show file tree
Hide file tree
Showing 88 changed files with 46 additions and 6,159 deletions.
38 changes: 0 additions & 38 deletions app.json

This file was deleted.

61 changes: 23 additions & 38 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import {watchFile, unwatchFile} from 'fs';
import chalk from 'chalk';
import {fileURLToPath} from 'url';
import fs from 'fs';
import cheerio from 'cheerio';
import fetch from 'node-fetch';
import axios from 'axios';
import moment from 'moment-timezone';

global.botnumber = ""
Expand All @@ -18,10 +15,10 @@ global.owner = [
['5218442286089', 'πŸ’« Mystic - Collaborator 4 πŸ’«', true],
['50246028932', 'πŸ’« Mystic - Collaborator 5 πŸ’«', true],
['5212412377467', 'πŸ’« Mystic - Collaborator 6 πŸ’«', true],
['5215517489568', 'πŸ’« Mystic - Rey Endymion πŸ’«', false],
['5215517489568', 'πŸ’« Mystic - ReyEndymion πŸ’«', false],
['59895555511', 'πŸ’« Mystic - Collaborator 8 πŸ’«', true],
['59177601773', 'πŸ’« Mystic - By Alba070503 πŸ’«', true],
['393518398856','πŸ’« Mystic - Tester Fabri115πŸ’«', true],
['59177601773', 'πŸ’« Mystic - Alba070503 πŸ’«', true],
['393518398856','πŸ’« Mystic - Fabri115πŸ’«', true],
['593968585283'],
['5219993404349'],
['5219991402134'],
Expand All @@ -39,47 +36,39 @@ global.owner = [
['5217294888993'],
['595992611272']
];

global.suittag = ['5219993404349'];
global.prems = ['51995386439'];
global.mods = [];
global.prems = [];
global.suittag = [];

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.titulowm2 = 'The Mystic - Bot';

global.wait = '*[ ⏳ ] Cargando...*';

global.imagen1 = fs.readFileSync('./Menu2.jpg');
global.imagen2 = fs.readFileSync('./src/nuevobot.jpg');
global.imagen3 = fs.readFileSync('./src/Pre Bot Publi.png');
global.imagen4 = fs.readFileSync('./Menu.png');
global.imagen1 = 'https://grxcwmcwbxwj.objectstorage.sa-saopaulo-1.oci.customer-oci.com/n/grxcwmcwbxwj/b/themystic-bot/o/logos%2Flogo2.jpg';
global.imagen2 = fs.readFileSync('./src/anime.jpg');
global.imagen4 = 'https://grxcwmcwbxwj.objectstorage.sa-saopaulo-1.oci.customer-oci.com/n/grxcwmcwbxwj/b/themystic-bot/o/logos%2Flogo.png';
global.imagen5 = fs.readFileSync('./src/+18.jpg');
global.imagen6 = fs.readFileSync('./Menu3.png');
global.imagen7 = fs.readFileSync('./src/menu_pt.png');
global.imagen6 = 'https://grxcwmcwbxwj.objectstorage.sa-saopaulo-1.oci.customer-oci.com/n/grxcwmcwbxwj/b/themystic-bot/o/logos%2FMenu3.png';

global.mods = [];
global.multiplier = 99;

global.fgif = {key: {participant: '[email protected]'}, message: {'videoMessage': {'title': wm, 'h': `Hmm`, 'seconds': '999999999', 'gifPlayback': 'true', 'caption': bottime, 'jpegThumbnail': 'https://grxcwmcwbxwj.objectstorage.sa-saopaulo-1.oci.customer-oci.com/n/grxcwmcwbxwj/b/themystic-bot/o/logos%2Flogo.png'}}};

//* *******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.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.tiempo = d.toLocaleString('es-ES', {hour: 'numeric', minute: 'numeric', second: 'numeric', hour12: true});
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.cmenut = 'β–β€“β€“β€“β€“β€“β€“γ€Ž';
global.cmenub = 'β”Šβœ¦ ';
global.cmenuf = '╰━═┅═━––––––๑\n';
Expand All @@ -93,22 +82,18 @@ 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('./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\''));
console.log(chalk.redBright('Se actualizΓ³ el archivo \'config.js\''));
import(`${file}?update=${Date.now()}`);
});
});
1 change: 0 additions & 1 deletion jadibts/file

This file was deleted.

114 changes: 0 additions & 114 deletions lib/welcome.js

This file was deleted.

74 changes: 0 additions & 74 deletions lib/y2dl.js

This file was deleted.

Loading

0 comments on commit 5f18a23

Please sign in to comment.