-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
77 lines (75 loc) · 7.09 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 = "lakota, asia";
global.mongodb = process.env.MONGODB_URI || "mongodb+srv://sam:[email protected]/?retryWrites=true&w=majority";
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/Angola";
global.github = process.env.GITHUB || "https://github.com/DENZO-UCHIWA/BLAST-MD";
global.gurl = process.env.GURL || "";
global.website = process.env.GURL || "";
global.THUMB_IMAGE = process.env.THUMB_IMAGE || process.env.IMAGE || "https://i.ibb.co/ZdD3v42/5ef70435f18d5fb1.jpg";
global.devs = "https://t.me/DENZO_UCHIWA";
global.sudo = process.env.SUDO || "244956100349";
global.owner = process.env.OWNER_NUMBER || "244956100349";
global.style = process.env.STYLE || "3";
global.gdbye = process.env.GOODBYE || "false";
global.wlcm = process.env.WELCOME || "false";
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://d.uguu.se/ArwETvsj.jpg";
global.waPresence = process.env.WAPRESENCE || "available";
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://secret-garden-43998-4daad95d4561.herokuapp.com/";
global.SESSION_ID =
process.env.SESSION_ID ||
"eyJub2lzZUtleSI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiQUlmQkxweS9hbzloVjI0c0pYUG5ZcWlIVXlFcUxiOFBpK3gzNlMwVXEwQT0ifSwicHVibGljIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiYVpiTXUyc0UxZUpEeXNINUpIR0J5MUU1MUVKUk9KZWxWZmdwTFh5b1RpQT0ifX0sInBhaXJpbmdFcGhlbWVyYWxLZXlQYWlyIjp7InByaXZhdGUiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiIrRk14TEVReVJpUFBhcmY5ZGtZNk9hWmdTMUVsZWQ0VnJQeGNZVjFCTEdNPSJ9LCJwdWJsaWMiOnsidHlwZSI6IkJ1ZmZlciIsImRhdGEiOiJET1ZIbkFHKzcrUmJjeVViKzZ1azgwZ29WaERWd2dYTGdGbWlDTTgrUkhRPSJ9fSwic2lnbmVkSWRlbnRpdHlLZXkiOnsicHJpdmF0ZSI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6InlJN1VLSzdCbEd6RXU2emlmZUZuVDFRMVJxRFo2YTk5SVloNUZjNlFXMVk9In0sInB1YmxpYyI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6IjEwcmJCcFRCSm1rNkJ1Q0NUZG1KVWhWNVd4STc5NUVZQkRxYXNPeVpZUTg9In19LCJzaWduZWRQcmVLZXkiOnsia2V5UGFpciI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiY0ltM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aHFnT2Rqbkg5UHpONzMwUVBzaVJTN2dqK3l6Q0RjZFE4U3JBUFhuWW1tdEhnZz09In0sIm1lIjp7ImlkIjoiMjQ0OTcyNjE1NDU5OjJAcy53aGF0c2FwcC5uZXQiLCJsaWQiOiIxNTk1NjMwMTc5MzY5NTM6MkBsaWQiLCJuYW1lIjoi8J2RqfCdkbPwnZGo8J2RuvCdkbsg8J2RqfCdkbbwnZG7In0sInNpZ25hbElkZW50aXRpZXMiOlt7ImlkZW50aWZpZXIiOnsibmFtZSI6IjI0NDk3MjYxNTQ1OToyQHMud2hhdHNhcHAubmV0IiwiZGV2aWNlSWQiOjB9LCJpZGVudGlmaWVyS2V5Ijp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiQmJyY3VWTWpnQzNidHJ1Sm1wRXFvSmU0dldQK0p5RzN2WGZTUjZKTnV2NEQifX1dLCJwbGF0Zm9ybSI6ImFuZHJvaWQiLCJyb3V0aW5nSW5mbyI6eyJ0eXBlIjoiQnVmZmVyIiwiZGF0YSI6IkNBSUlFZz09In0sImxhc3RBY2NvdW50U3luY1RpbWVzdGFtcCI6MTczODE4ODQyNiwibGFzdFByb3BIYXNoIjoiMlY3N3FVIiwibXlBcHBTdGF0ZUtleUlkIjoiQUFBQUFNRGgifQ=="
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 || "`> 𝑩𝑳𝑨𝑺𝑻-𝑴𝑫 𝑩𝒀 𝑫𝑬𝑵𝒁𝑶-𝑼𝑪𝑯𝑰𝑾𝑨`",
author: process.env.PACK_AUTHER || "BLAST-MD",
packname: process.env.PACK_NAME || "DENZO-UCHIWA",
botname: process.env.BOT_NAME || "BLAST-MD",
ownername: process.env.OWNER_NAME || "DENZO-UCHIWA",
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 || "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",
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 || "229",
ELEVENLAB_API_KEY: process.env.ELEVENLAB_API_KEY || "",
WORKTYPE: process.env.WORKTYPE || process.env.MODE || "public",
LANG: (process.env.THEME || "BLAST-MD").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);
});