forked from Kingjux/Venocyber-md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
77 lines (75 loc) · 6.23 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 = "losrios755@gmail.com";
global.location = "Njombe,Tanzania.";
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/Dar es salaam";
global.github = process.env.GITHUB || "https://github.com/Kingjux/Venocyber-md";
global.gurl = process.env.GURL || "https://whatsapp.com/channel/0029VagzM5RGk1Fq9b6BCO0q";
global.website = process.env.GURL || "https://whatsapp.com/channel/0029VagzM5RGk1Fq9b6BCO0q";
global.THUMB_IMAGE = process.env.THUMB_IMAGE || process.env.IMAGE || "https://telegra.ph/file/12b0fb245e6b8ba4bf718.jpg";
global.devs = "255742862266";
global.sudo = process.env.SUDO || "255742862266";
global.owner = process.env.OWNER_NUMBER || "255742862266";
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 || "true";
global.userImages = process.env.USER_IMAGES || "";
global.waPresence = process.env.WAPRESENCE || "online";
global.readcmds = process.env.READ_COMMAND || "false";
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://rb.gy/3keql8";
global.SESSION_ID =
process.env.SESSION_ID ||
"eyJub2lzZUtleSI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiWUt4NzhZU2phUWlkK2xXNEpzQWFKTEJDcDVlRTlyRGdZR2pXZndxVlIyMD0ifSwicHVibGljIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiMTUrSHB3MU9kWGtDTUVFdk1kQ1JsR21sOC9wREtCRXJLZnk0SzJIVDFDWT0ifX0sInBhaXJpbmdFcGhlbWVyYWxLZXlQYWlyIjp7InByaXZhdGUiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiIrQTMybHVwSHdHcHNRTWdIa1k0M0ZBa0hqc1hhbEhjTmtZR1Q2TlN3STBnPSJ9LCJwdWJsaWMiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiJON1pTcGc0T3AzYWZkSE0ySncyREY1QU9NMkwwSXdTazJCRTF3SXJlOVN3PSJ9fSwic2lnbmVkSWRlbnRpdHlLZXkiOnsicHJpdmF0ZSI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6IlVKV3hsaVM4NldKRzB4dUtqL2E1K21NUTFYTmVTQ0xpQStQYWg2Y2d4WGc9In0sInB1YmxpYyI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6Imw3TjllcjdNUG5adzVrMmg4bWVxM011NEYvQk9zb3RPZWJFMCs4R1RGVnM9In19LCJzaWduZWRQcmVLZXkiOnsia2V5UGFpciI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiMkVYQ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jEyMDQ6NEBzLndoYXRzYXBwLm5ldCJ9LCJhY2NvdW50Ijp7ImRldGFpbHMiOiJDSzZtdWRBREVMM2x1TFFHR0FFZ0FDZ0EiLCJhY2NvdW50U2lnbmF0dXJlS2V5IjoiZmxnTmV1TGRuQ2ZRei93alFsZ2MvalZqNGpZdC9UczRkb1B2NDl1TVRqbz0iLCJhY2NvdW50U2lnbmF0dXJlIjoiMXFRaW1kdkVNTDJjR0xMalBTM3BNR0liUmVZSVBzUG5uYnkweVpHOUJpZ2kvNlYrV1cvbnhKclNIVS9GSjY3MTRwblZURDRaekRkNzM1ektQQXlMQnc9PSIsImRldmljZVNpZ25hdHVyZSI6IldKSWd5dHJaZ1BWU0F0WjZyM3phbGFXRitFdFNSSmVXVjhwM1BMZ1Q0T0pnQTJsMXRjYk80Y2R1WlBWOG5STlQycmVRbms4aWxnakNMWjlvZzVLMWd3PT0ifSwic2lnbmFsSWRlbnRpdGllcyI6W3siaWRlbnRpZmllciI6eyJuYW1lIjoiMjU1NjgzMjYxMjA0OjRAcy53aGF0c2FwcC5uZXQiLCJkZXZpY2VJZCI6MH0sImlkZW50aWZpZXJLZXkiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiJCWDVZRFhyaTNad24wTS84STBKWUhQNDFZK0kyTGYwN09IYUQ3K1BiakU0NiJ9fV0sInBsYXRmb3JtIjoiYW5kcm9pZCIsImxhc3RBY2NvdW50U3luY1RpbWVzdGFtcCI6MTcyMDU5NTE0NywibXlBcHBTdGF0ZUtleUlkIjoiQUFBQUFFVmQifQ=="
module.exports = {
menu: process.env.MENU || "",
HANDLERS: process.env.PREFIX || "•",
BRANCH: process.env.BRANCH || "main",
VERSION: process.env.VERSION || "1.0.0",
caption: process.env.CAPTION || "you're using first powerful bot to be released in Tanzania| enjoy your time| this is 𝐕𝐄𝐍𝐎𝐂𝐘𝐁𝐄𝐑 𝐌𝐃",
author: process.env.PACK_AUTHER || "VENOCYBER",
packname: process.env.PACK_NAME || "♥️",
botname: process.env.BOT_NAME || "VENOCYBER-𝐌𝐃",
ownername: process.env.OWNER_NAME || "VENOCYBER",
errorChat: process.env.ERROR_CHAT || "",
KOYEB_API: process.env.KOYEB_API || "false",
REMOVE_BG_KEY: process.env.REMOVE_BG_KEY || "",
OPENAI_API_KEY: process.env.OPENAI_API_KEY || "sk-proj-MLNkacQOWsMSwtBZZf0XT3BlbkFJqfgJYOOkiikW5Y4ynpM5",
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 || "private",
LANG: (process.env.THEME || "VENOCYBER").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);
});