-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
90 lines (62 loc) · 3.95 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
const fs = require('fs-extra')
if (fs.existsSync('config.env')) require('dotenv').config({ path: __dirname+'/config.env' })
//═══════[Required Variables]════════\\
global.audio= "" ;
global.video= "" ;
global.port =process.env.PORT
global.appUrl=process.env.APP_URL||"" // put your app url here,
global.email="[email protected]"
global.location="Lahore,Punjab,Pakistan"
global.mongodb= process.env.MONGODB_URI || ""
global.DATABASE_URI=process.env.DATABASE_URL
global.allowJids= process.env.ALLOW_JID || "null"
global.blockJids= process.env.BLOCK_JID || "[email protected]"
global.scan = "https://suhail-md-vtsf.onrender.com/";
global.timezone= process.env.TZ || process.env.TIME_ZONE || "Asia/Karachi";
global.github=process.env.GITHUB|| "https://github.com/SuhailTechInfo/Suhail-Md";
global.gurl = process.env.GURL || "https://whatsapp.com/channel/0029Va9thusJP20yWxQ6N643";
global.website =process.env.GURL|| "https://whatsapp.com/channel/0029Va9thusJP20yWxQ6N643" ;
global.THUMB_IMAGE=process.env.THUMB_IMAGE|| "https://telegra.ph/file/d5b1c3544fedc23e11a06.jpg" ; // SET LOGO FOR IMAGE
global.disablepm = process.env.DISABLE_PM || "false",
global.userImages = process.env.USER_IMAGES|| "text",
global.style = process.env.STYLE || "5", // put '1' to "5" here to check bot styles
global.devs = "923184474176" // Developer Conatact
global.sudo = process.env.SUDO ? process.env.SUDO.replace(/[\s+]/g, '') : "null";
global.owner= process.env.OWNER_NUMBER ? process.env.OWNER_NUMBER.replace(/[\s+]/g, '') : "923184474176";
module.exports = {
menu: process.env.MENU || "", /** Available @MENU @Schemes 1: Aztec_Md, 2: A17_Md, 3: Suhail-Md Default ---------- If Not Choose then it Randomely Pic One Of Them Each time **/
//style:process.env.STYLE|| "2", // put '1' & "2" here to check bot styles
HANDLERS:process.env.PREFIX || ".",
BRANCH: process.env.BRANCH || "main",
VERSION:process.env.VERSION || "v.1.2.7-qr",
caption:process.env.CAPTION || "©sᴜʜᴀɪʟ²²¹-ᴍᴅ" , // ```『 ᴘᴏᴡᴇʀᴇᴅ ʙʏ sᴜʜᴀɪʟ²²¹-ᴍᴅ 』```", //*『sᴜʙsᴄʀɪʙᴇ • sᴜʜᴀɪʟ ᴛᴇᴄʜ』*\n youtube.com/@suhailtechinfo0"),
author: process.env.PACK_AUTHER || "Suhail-MD",
packname: process.env.PACK_NAME || "♥️",
botname : process.env.BOT_NAME || "sᴜʜᴀɪʟ-ᴍᴅ",
ownername:process.env.OWNER_NAME|| "It'x Suhail",
sessionName:process.env.SESSION_ID|| "", // PUT SESSION ID HERE
errorChat: process.env.ERROR_CHAT || "",
warncount: process.env.WARN_COUNT || 3,
//userImages:process.env.USER_IMAGES|| "text", // SET IMAGE AND VIDEO URL FOR BOT MENUS
//disablepm: process.env.DISABLE_PM || "false",
MsgsInLog: process.env.MSGS_IN_LOG|| "false", // "true" to see messages , "log" to open logs , "false" to hide logs messages
readcmds:process.env.READ_COMMANDS|| "false",
KOYEB_API: process.env.KOYEB_API || "false",
readmessage:process.env.READ_MESSAGE|| "false",
aitts_Voice_Id:process.env.AITTS_ID|| "37",
alwaysonline:process.env.WAPRESENCE|| "unavailable", // 'unavailable' | 'online' | 'composing' | 'recording' | 'paused'
REMOVE_BG_KEY : process.env.REMOVE_BG_KEY || "",
OPENAI_API_KEY: process.env.OPENAI_API_KEY|| "",
read_status: process.env.AUTO_READ_STATUS || "false",
save_status: process.env.AUTO_SAVE_STATUS || "false",
HEROKU_API_KEY: process.env.HEROKU_API_KEY || "",
HEROKU_APP_NAME:process.env.HEROKU_APP_NAME|| "",
antilink_values:process.env.ANTILINK_VALUES|| "all",
HEROKU: process.env.HEROKU_APP_NAME && process.env.HEROKU_API_KEY,
ELEVENLAB_API_KEY: process.env.ELEVENLAB_API_KEY || "",
WORKTYPE: process.env.WORKTYPE || process.env.MODE || "private",
LANG: process.env.THEME ? process.env.THEME.toUpperCase() : "SUHAIL",
};
global.isMongodb = false;
let file = require.resolve(__filename)
fs.watchFile(file, () => { fs.unwatchFile(file);console.log(`Update'${__filename}'`);delete require.cache[file]; require(file); })