-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
67 lines (46 loc) · 1.95 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
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'
//─────「 NUMEROS - OWNERS 」─────`*
global.owner = [
['5491126788746', 'JTxs', true],
['51913091648', 'Gabriel Curi', true],
['']
]
//─────「 NUMEROS - MODS | PREMS 」─────`*
global.mods = []
global.prems = []
//─────「 STICKERS | NOMBRES | CANAL 」─────`*
global.packname = ``
global.author = '@ 2024 JTxs | All rigths reserved'
global.botname = 'Sylpha - Bot'
global.name_canal = '@ 2024 JTxs | All rigths reserved'
global.id_canal = '120363274577422945@newsletter'
//─────「 IMAGENES 」─────`*
global.catalogo = fs.readFileSync('./storage/img/catalogo.png')
//global.miniurl = fs.readFileSync('./storage/img/miniurl.jpg')
//─────「 OTROS 」─────`*
global.estilo = { key: { fromMe: false, participant: `[email protected]`, ...(false ? { remoteJid: "[email protected]" } : {}) }, message: { orderMessage: { itemCount : -999999, status: 1, surface : 1, message: botname, orderTitle: 'Bang', thumbnail: catalogo, sellerJid: '[email protected]'}}}
//─────「 LINKS 」─────`*
global.canal = 'https://whatsapp.com/channel/0029VaeQcFXEFeXtNMHk0D0n'
//─────「 OTROS 」─────`*
global.cheerio = cheerio
global.fs = fs
global.fetch = fetch
global.axios = axios
global.moment = moment
//─────「─────」─────`*
global.multiplier = 69
global.maxwarn = '2' // máxima advertencias
//─────「─────」─────`*
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})