forked from mrpainss/TRASH-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
30 lines (26 loc) · 892 Bytes
/
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
const fs = require('fs')
const chalk = require('chalk')
global.owner = ['6281220670449','0']
global.packname = 'Bot Whatsapp'
global.author = 'TRASH'
global.sessionName = 'data'
global.prefa = ['','!','.','#']
global.ownername = 'KurrXd'
global.sp = '>'
global.mess = {
admin: 'Fitur Khusus Admin Group!',
botAdmin: 'Bot Harus Menjadi Admin Terlebih Dahulu!',
owner: 'Fitur Khusus Owner Bot',
group: 'Fitur Digunakan Hanya Untuk Group!',
private: 'Fitur Digunakan Hanya Untuk Private Chat!',
bot: 'Fitur Khusus Pengguna Nomor Bot',
wait: '_Data In Process, Please Wait A Minute.._',
}
global.thumb = fs.readFileSync('./lib/assets/logo.jpg')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})