-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathConfig.js
60 lines (49 loc) · 1.87 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
const fs = require('fs')
const chalk = require('chalk')
//contact details
global.ownernumber = ['254103752757']
global.ownername = "💙𓆩✘AʏᴜSʜ✘𓆪_✰"//owner name
global.ytname = "YT: AyushBotz.inc"
global.socialm = "GitHub: Ayushpandey023"
global.location = "Indian"
global.botname = '𝐌𝐀𝐑𝐈𝐀-𝐌𝐃' //name of the bot
//sticker details
global.stickername = '💙𓆩✘AʏᴜSʜ✘𓆪_✰'
global.packname = 'Sticker By'
global.author = 'Azgad Roy'
//console view/theme
global.themeemoji = '🧩'
global.wm = "Ayush botz inc."
//theme link
global.link = 'https://whatsapp.com/channel/0029VaImo5ZG3R3qjKOdyr1I'
//custom prefix
global.prefa = ['.']
//false=disable and true=enable
global.welcome = false //auto welcome
global.autoRecording = false //auto recording
global.autoTyping = false //auto typing
global.autorecordtype = false //auto typing + recording
global.autoread = false //auto read messages
global.autobio = false //auto update bio
global.anti212 = false //auto block +212
global.autoread_status = true //auto view status/story
//reply messages
global.mess = {
done: '*here you go!* \n\n*🎀 Maria Bot 🎀*\n\n*🧩 Bot link:* \nhttps://github.com/AYUSH-PANDEY023/Maria-MD\n',
prem: '*This feature can be used by premium user only*',
admin: '*This feature can be used by admin only*',
botAdmin: '*This feature can only be used when the bot is a group admin* ',
owner: '*This feature can be used by owner only*',
group: '*This feature is only for groups*',
private: '*This feature is only for private chats*',
wait: '*In process...* ',
error: '*Error!*',
}
global.thumb = fs.readFileSync('./Gallery/thumb.jpg')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})