forked from ikkygganzBotz/Riych-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
27 lines (23 loc) 路 754 Bytes
/
Copy pathconfig.js
File metadata and controls
27 lines (23 loc) 路 754 Bytes
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
const fs = require('fs')
const chalk = require('chalk')
// self or public
global.self = false //jadiin true klo gk mau fitur bot lu di pke sama org lain
// setting
global.ownername ="X-Botz"
global.ownernumber = "6281556460581"
global.botname = "X-Botz"
global.thumbnail = fs.readFileSync("./settings/Riych.jpg") //sesuaikan dengan nama foto
global.background = "https://telegra.ph/file/d4c05638fa7886a1d8060.jpg"
global.lolkey = 'RIFQIBOTZ' //apikey
global.limit = {
free:20,
premium:1000
}
global.session_name = "session.json"
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})