-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
97 lines (87 loc) · 2.3 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
const fs = require("fs");
const chalk = require("chalk");
// Owner
global.owner = [
['6287729860010']
] // Put your number here
global.mods = ['6287729860010'] // Moderator
global.prems = ['6287729860010'] // Premium
global.APIs = { // API Prefix
// name: 'https://website'
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
}
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0
// Informasi
global.namebot = "chitsuBot";
global.version = '1.0.0'
global.sgc = 'https://chat.whatsapp.com/Iu96JySC9ZzBGJNEu0qNm6'
global.thumb = 'https://telegra.ph/file/974aa388af1165069f753.jpg'
global.swa = '6287729860010'
global.wm = "shinomiya Tech Bot WhatsApp"
global.done = "```© Chitsu```";
global.sig = 'https://instagram.com/_dlwrml'
// Fake Size
global.fsizedoc = '99999999999999' // default 10TB
global.fpagedoc = '999'
// Watermark
global.wait = "```Loading...```"
global.eror = "`! Error Command Failed`"
global.denied = "`! Error Command Failed`"
global.packname = "chitsuBot";
global.author = "ham"
// Tampilan
global.htki = '⬣───「' // Hiasan kiri
global.htka = '」───⬣' // Hiasan kanan
global.htjava = '•' // Hiasan
global.sa = '╭─'
global.gx = '│✇'
global.gy = '│•'
global.gz = '│'
global.sb = '╰────࿐'
global.kki = '「'
global.kka = '」'
global.zt = '*'
global.zc = ''
global.multiplier = 1000 // The higher, The harder levelup
global.rpg = {
emoticon(string) {
string = string.toLowerCase();
let emot = {
exp: '✉️',
money: '💵',
potion: '🥤',
diamond: '💎',
common: '📦',
uncommon: '🎁',
mythic: '🗳️',
legendary: '🗃️',
pet: '🎁',
trash: '🗑',
armor: '🥼',
sword: '⚔️',
wood: '🪵',
rock: '🪨',
string: '🕸️',
horse: '🐎',
cat: '🐈',
dog: '🐕',
fox: '🦊',
petFood: '🍖',
iron: '⛓️',
gold: '👑',
emerald: '💚'
};
let results = Object.keys(emot).filter(v => new RegExp(v, 'gi').test(string));
if (!results.length) return '';
else return emot[results[0]];
}
}
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
delete require.cache[file]
require(file)
})