-
Notifications
You must be signed in to change notification settings - Fork 108
/
config.cjs
28 lines (23 loc) ยท 1.5 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
// config.js
const fs = require("fs");
require("dotenv").config();
const config = {
SESSION_ID: process.env.SESSION_ID || "Add your Session",
AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN !== undefined ? process.env.AUTO_STATUS_SEEN === 'true' : true,
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 || "94720797915",
GEMINI_KEY: process.env.GEMINI_KEY || "",
WELCOME: process.env.WELCOME !== undefined ? process.env.WELCOME === 'true' : false,
};
module.exports = config;