forked from shizothetechie/OREO-BOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
62 lines (50 loc) · 1.6 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
import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import moment from 'moment-timezone'
import fs from 'fs'
//OwnerShip
global.owner = [
[process.env.OWNER_NUMBER || '919637987574', process.env.OWNER_NAME || 'Developer Shizo 🤖', true],
['919637987574', 'Shizo Techie ❤️✨', true]
]
global.mods = []
global.prems = []
global.author = process.env.OWNER_NAME || 'Shizo The Techie'
global.botname = process.env.BOT_NAME || 'OREO-BOT'
//Api's
global.APIs = {
}
global.APIKeys = {
}
//Apikeys
global.shizokeys = 'shizo'
//Sticker Watermarks
global.stkpack = process.env.BOT_NAME || 'OREO-BOT 🥵'
global.stkowner = process.env.OWNER_NAME || '© Shizo The Techie'
//Watermark
global.maker = process.env.MAKER || 'Made with ❤️ by OREO-BOT'
//global emojis
global.wait = '*⌛ _Charging..._*\n*▰▰▰▱▱▱▱▱*'
global.rwait = '⌛'
global.dmoji = '🤭'
global.done = '✅'
global.error = '❌'
global.xmoji = '🔥'
//management
global.bug = '*!! Sorry 💢 !!*\nSomething went wrong 🌋'
global.stop = '*!! 🎭 Unfortunately 💔 !!*\nBot system is not Responding 🙃'
//TimeLines
global.botdate = `*⫹⫺ Date:* ${moment.tz('Asia/Kolkata').format('DD/MM/YY')}`
global.bottime = `*⫹⫺ Time:* ${moment.tz('Asia/Kolkata').format('HH:mm:ss')}`
//Hosting Management
global.serverHost = 1
global.getQrWeb = 0
global.renderHost = 0
global.replitHost = 0
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})