forked from ROMEKTRICKS/ROMEK-XD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cjs
31 lines (26 loc) · 1.74 KB
/
config.cjs
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
// config.js
const fs = require("fs");
require("dotenv").config();
const config = {
SESSION_ID: process.env.SESSION_ID || "Your Session Id",
PREFIX: process.env.PREFIX || '.',
AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN !== undefined ? process.env.AUTO_STATUS_SEEN === 'true' : true,
AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY !== undefined ? process.env.AUTO_STATUS_REPLY === 'true' : true,
STATUS_READ_MSG: process.env.STATUS_READ_MSG || '',
AUTO_DL: process.env.AUTO_DL !== undefined ? process.env.AUTO_DL === 'true' : false,
AUTO_READ: process.env.AUTO_READ !== undefined ? process.env.AUTO_READ === 'true' : false,
AUTO_TYPING: process.env.AUTO_TYPING !== undefined ? process.env.AUTO_TYPING === 'true' : false,
AUTO_RECORDING: process.env.AUTO_RECORDING !== undefined ? process.env.AUTO_RECORDING === 'true' : false,
ALWAYS_ONLINE: process.env.ALWAYS_ONLINE !== undefined ? process.env.ALWAYS_ONLINE === 'true' : false,
AUTO_REACT: process.env.AUTO_REACT !== undefined ? process.env.AUTO_REACT === 'true' : false,
/*auto block only for 212 */
AUTO_BLOCK: process.env.AUTO_BLOCK !== undefined ? process.env.AUTO_BLOCK === 'true' : true,
REJECT_CALL: process.env.REJECT_CALL !== undefined ? process.env.REJECT_CALL === 'true' : false,
NOT_ALLOW: process.env.NOT_ALLOW !== undefined ? process.env.NOT_ALLOW === 'true' : true,
MODE: process.env.MODE || "public",
OWNER_NAME: process.env.OWNER_NAME || "✪⏤͟͞★⃝ꪶ𝐑𝐎𝐌𝐄𝐊-𝐗𝐃𖥘✪͜͡➺",
OWNER_NUMBER: process.env.OWNER_NUMBER || "919341378016",
GEMINI_KEY: process.env.GEMINI_KEY || "AIzaSyCUPaxfIdZawsKZKqCqJcC-GWiQPCXKTDc",
WELCOME: process.env.WELCOME !== undefined ? process.env.WELCOME === 'true' : false,
};
module.exports = config;