-
Notifications
You must be signed in to change notification settings - Fork 68
/
Setting.js
63 lines (61 loc) · 2.69 KB
/
Setting.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
const fs = require('fs-extra')
//═══════[Required Variables]════════\\
global.owner = process.env.OWNER_NUMBER || '2348039607375' ;
global.mongodb = process.env.MONGODB_URI || "" ;
global.port=5000 ;
global.audio = '' ;
global.video = '' ;
global.blockJids = process.env.BLOCK_JID ||'120363169665426586@g.us' ;
global.allowJids = process.env.ALLOW_JID ||'120363169665426586@g.us' ;
global.email = 'astromedia0010@outlook.com' ;
global.github = 'https://github.com/Astropeda/Asta-Md' ;
global.location = 'Nigeria Lagos' ;
global.timezone = process.env.TIME_ZONE || 'Africa/Lagos'
global.gurl = '' ;
global.sudo = process.env.SUDO || "2348039607375" ;
global.devs = "2348039607375"; //Dont change it
global.mztit = process.env.MZTIT ||"Asta-Md",
global.Gname = process.env.GNAME ||"Asta-Md-sᴜᴘᴘᴏʀᴛ",
global.zyt = process.env.ZYT || '1',
global.waUrl = process.env.WAURL ||"",
global.website = '' ;
global.THUMB_IMAGE = process.env.THUMB_IMAGE || '' ;
module.exports = {
sessionName: process.env.SESSION_ID || '',
botname: process.env.BOT_NAME || 'Asta-Md',
ownername: process.env.OWNER_NAME || `Astro`,
author: process.env.PACK_AUTHER || 'Astro',
auto_read_status : process.env.AUTO_READ_STATUS || 'false',
packname: process.env.PACK_NAME || "Asta-Md" ,
autoreaction: process.env.AUTO_REACTION || 'true',
antibadword : process.env.ANTI_BAD_WORD || 'nobadwordokey',
alwaysonline: process.env.ALWAYS_ONLINE || 'true',
antifake : process.env.FAKE_COUNTRY_CODE ||'212',
readmessage: process.env.READ_MESSAGE || 'true',
HANDLERS: process.env.PREFIX || '.',
warncount : process.env.WARN_COUNT || 2,
disablepm: process.env.DISABLE_PM || "false",
MsgsInLog:process.env.MSGS_IN_LOG ||'false',
pmMsgsInLog:process.env.PM_MSGS_IN_LOGS ||'false',
levelupmessage: process.env.LEVEL_UP_MESSAGE || 'true',
antilink: process.env.ANTILINK_VALUES || 'chat.whatsapp.com',
antilinkaction: process.env.BRANCH || 'remove',
BRANCH: process.env.BRANCH || 'Main',
HEROKU_APP_NAME: process.env.HEROKU_APP_NAME,
HEROKU_API_KEY: process.env.HEROKU_API_KEY,
REMOVE_BG_KEY: process.env.REMOVE_BG_KEY || "34wcCGPoe3yaGtpiBZgx4SN7",
caption :process.env.CAPTION || "\t*ᴘᴏᴡᴇʀᴇᴅ ʙʏ Asta-Md* ",
promote_demote_messages : process.env.PROMOTE_DEMOTE_MESSAGES || 'true' ,
OPENAI_API_KEY: process.env.OPENAI_API_KEY ||'' ,
VERSION: process.env.VERSION || 'V.4.5.0',
LANG: process.env.THEME|| 'Asta_Md',
menu : process.env.MENU || '',
WORKTYPE: process.env.WORKTYPE || 'private'
};
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(`Update'${__filename}'`)
delete require.cache[file]
require(file)
})