-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.js
More file actions
40 lines (34 loc) · 1.12 KB
/
config.js
File metadata and controls
40 lines (34 loc) · 1.12 KB
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
/**
* Base Create By Dika Ardnt.
* Updated by fnixdev
* Follow https://github.com/fnixdev
*/
const fs = require('fs')
const chalk = require('chalk')
const apikey = JSON.parse(fs.readFileSync('./src/settings.json'))
// Outros
global.owner = ['553189092420']
global.prefix = ['/']
global.packname = 'Shiro Bot'
global.author = 'fnixdev'
global.sp = '✾'
global.api = apikey.apikey
global.mess = {
admin: '_Apenas admins podem usar esse comando!_',
botAdmin: '_Eu preciso que você me coloque como admin para fazer isso!_',
owner: '_Apenas meu dono pode usar isso!_',
isowner: '_Lol ele é meu dono._',
group: '_Isso só pode ser usado em um grupo!_',
private: '_Isso só pode ser usado no privado_',
bot: '_Isso é uma função exclusiva do bot_',
wait: '_Tudo bem querido, aguarde um momento._',
text: '_Eu preciso que você digite algo_'
}
global.thumb = fs.readFileSync('./src/shiro.jpg')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})