forked from BADBOI-v1/Queen-BHAD-DC-MD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
77 lines (75 loc) · 6.26 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
//#ENJOY
const fs = require("fs-extra");
if (fs.existsSync(".env"))
require("dotenv").config({ path: __dirname + "/.env" });
global.audio = "";
global.video = "";
global.port = process.env.PORT;
global.appUrl = process.env.APP_URL || "";
global.email = "[email protected]";
global.location = "Nairobi, kenya";
global.mongodb = process.env.MONGODB_URI || "";
global.allowJids = process.env.ALLOW_JID || "null";
global.blockJids = process.env.BLOCK_JID || "null";
global.DATABASE_URL = process.env.DATABASE_URL || "";
global.timezone = process.env.TZ || process.env.TIME_ZONE || "Africa/Lagos";
global.github = process.env.GITHUB || "https://github.com/BADBOI-v1/Queen-BHAD-DC-MD";
global.gurl = process.env.GURL || "https://whatsapp.com/channel/0029VadCyFZGufJ2YW4bG42x";
global.website = process.env.GURL || "https://whatsapp.com/channel/0029VadCyFZGufJ2YW4bG42x";
global.THUMB_IMAGE = process.env.THUMB_IMAGE || process.env.IMAGE || "https://telegra.ph/file/dad04122a49867dffb830.jpg";
global.devs = "https://t.me/deecee_x";
global.sudo = process.env.SUDO || "";
global.owner = process.env.OWNER_NUMBER || "254759799995";
global.style = process.env.STYLE || "3";
global.gdbye = process.env.GOODBYE || "true";
global.wlcm = process.env.WELCOME || "true";
global.warncount = process.env.WARN_COUNT || 3;
global.disablepm = process.env.DISABLE_PM || "false";
global.disablegroup = process.env.DISABLE_GROUPS || "false",
global.MsgsInLog = process.env.MSGS_IN_LOG || "false";
global.userImages = process.env.USER_IMAGES || "https://telegra.ph/file/53353f917aa29807b8a64.jpg,https://telegra.ph/file/9f7c67312af37da75d47e.mp4";
global.waPresence = process.env.WAPRESENCE || "available";
global.readcmds = process.env.READ_COMMAND || "true";
global.readmessage = process.env.READ_MESSAGE || "false";
global.readmessagefrom = process.env.READ_MESSAGE_FROM || "";
global.read_status = process.env.AUTO_READ_STATUS || "true";
global.save_status = process.env.AUTO_SAVE_STATUS || "false";
global.save_status_from = process.env.SAVE_STATUS_FROM || "";
global.read_status_from = process.env.READ_STATUS_FROM || "";
global.api_smd = "https://api-smd-1.vercel.app";
global.scan = "https://secret-garden-43998-4daad95d4561.herokuapp.com/";
global.SESSION_ID = "eyJub2lzZUtleSI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiZUYwSzJJMVZKYnEwTk42RVJwd1ZqU0I2cVFURitwR2gxNmRab0xIL3hWcz0ifSwicHVibGljIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiQ1lVQmdhODkxeWJBcFE3RFBoamtxME9jbW91UlRsejQyUkhqNHRsdURUdz0ifX0sInBhaXJpbmdFcGhlbWVyYWxLZXlQYWlyIjp7InByaXZhdGUiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiJLSGxSaFduUzlsK2huL2J3Q2RJQ1pDcUJLNDhPdHVxdlc3OTk5eS9GOTFZPSJ9LCJwdWJsaWMiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiJTWm40cEtCZjFPNUp3MTVyaHVNVEhYTS80MVE0YjY0dDEvV0xxN1BKY1d3PSJ9fSwic2lnbmVkSWRlbnRpdHlLZXkiOnsicHJpdmF0ZSI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6IklJdmJuL1ZuT0VLNGlndUtEMm1lcmNSUmllOG1wM0p6dFdrL25vQUdIRUE9In0sInB1YmxpYyI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6Ikl6MFdHWXNRWStaNlJoNWVzMkpnVHgrR0dwWW01bHhpcXo2TXRaQmk1WE09In19LCJzaWduZWRQcmVLZXkiOnsia2V5U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Q29kZSI6IkVHV1BIWUtXIiwibWUiOnsiaWQiOiIyNTQ3NTk3OTk5OTU6NDZAcy53aGF0c2FwcC5uZXQifSwiYWNjb3VudCI6eyJkZXRhaWxzIjoiQ055Z2dwb0dFSkRYMGJVR0dBY2dBQ2dBIiwiYWNjb3VudFNpZ25hdHVyZUtleSI6IldzL2xKaWFKbm1SY3Jqc3F3RXRMcHQ5SDdTMGo0RVNnekxGejFUY2YyaTg9IiwiYWNjb3VudFNpZ25hdHVyZSI6IkdXZklZTFRzZ204SHNaZFBwZnRqT2FpQzB5WEdpYjNVb1N0YXpzWE5xZTRHTzVFMGJaOWMyL21teVhBd05rRkQ0OVVpeTlzdWFiUkNxc0xGQTF3UERnPT0iLCJkZXZpY2VTaWduYXR1cmUiOiJYMVQzTjVXZXJLVGttS01qck5UaFlGWkhtRk5hNFc1Nk5SdzFvbDNJcFhremdERk1Td3p5bFRnUzdJNktXb1l1Qm1UaFJPK3kwbndyOGxGR09qV0FpQT09In0sInNpZ25hbElkZW50aXRpZXMiOlt7ImlkZW50aWZpZXIiOnsibmFtZSI6IjI1NDc1OTc5OTk5NTo0NkBzLndoYXRzYXBwLm5ldCIsImRldmljZUlkIjowfSwiaWRlbnRpZmllcktleSI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6IkJWclA1U1ltaVo1a1hLNDdLc0JMUzZiZlIrMHRJK0JFb015eGM5VTNIOW92In19XSwicGxhdGZvcm0iOiJhbmRyb2lkIiwibGFzdEFjY291bnRTeW5jVGltZXN0YW1wIjoxNzIzMTAwMDYyfQ==";
process.env.SESSION_ID ||
""
module.exports = {
menu: process.env.MENU || "2",
HANDLERS: process.env.PREFIX || ".",
BRANCH: process.env.BRANCH || "main",
VERSION: process.env.VERSION || "1.0.0",
caption: process.env.CAPTION || "`QUEEN_♡ƁӇƛƊ ƊƇᴸᴼᴿᴰ-MD™`",
author: process.env.PACK_AUTHER || "QUEEN_♡ƁӇƛƊ ƊƇᴸᴼᴿᴰ-MD",
packname: process.env.PACK_NAME || "♡ Ɓ Ӈ ƛ Ɗ Ɗ Ƈᴸ ᴼ ᴿ ᴰ",
botname: process.env.BOT_NAME || "QUEEN_♡ƁӇƛƊ ƊƇᴸᴼᴿᴰ-MD",
ownername: process.env.OWNER_NAME || "HACKER KADINYA",
errorChat: process.env.ERROR_CHAT || "",
KOYEB_API: process.env.KOYEB_API || "false",
REMOVE_BG_KEY: process.env.REMOVE_BG_KEY || "true",
OPENAI_API_KEY: process.env.OPENAI_API_KEY || "",
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,
aitts_Voice_Id: process.env.AITTS_ID || "37",
ELEVENLAB_API_KEY: process.env.ELEVENLAB_API_KEY || "",
WORKTYPE: process.env.WORKTYPE || process.env.MODE || "public",
LANG: (process.env.THEME || "B H A D").toUpperCase(),
};
global.rank = "updated";
global.isMongodb = false;
let file = require.resolve(__filename);
fs.watchFile(file, () => {
fs.unwatchFile(file);
console.log(`Update'${__filename}'`);
delete require.cache[file];
require(file);
});