-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
88 changed files
with
46 additions
and
6,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = "" | ||
|
@@ -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'], | ||
|
@@ -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'; | ||
|
@@ -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()}`); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.