-
Notifications
You must be signed in to change notification settings - Fork 535
Expand file tree
/
Copy pathconfig.cjs
More file actions
32 lines (31 loc) · 1.57 KB
/
config.cjs
File metadata and controls
32 lines (31 loc) · 1.57 KB
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
const fs = require('fs');
if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });
module.exports = {
"SESSION_ID": process.env.SESSION_ID || "",
"ALIVE_IMG": process.env.ALIVE_IMG || "https://raw.githubusercontent.com/HyHamza/HyHamza/refs/heads/main/Images/logo.jpg",
"PREFIX": process.env.PREFIX || ".",
"AUTO_READ_STATUS": process.env.AUTO_READ_STATUS === 'true',
"MODE": process.env.MODE || "public",
"OWNER_NUMBER": process.env.OWNER_NUMBER || "923072380380",
"OWNER_NAME": process.env.OWNER_NAME || "Hamza",
"ALWAYS_ONLINE": process.env.ALWAYS_ONLINE === 'true',
"PRESENCE": process.env.PRESENCE || "online",
"OMDB_API_KEY": process.env.OMDB_API_KEY || "76cb7f39",
"READ_CMD": process.env.READ_CMD === 'true',
"AUTO_VOICE": process.env.AUTO_VOICE === 'true',
"AUTO_STICKER": process.env.AUTO_STICKER === 'true',
"AUTO_REPLY": process.env.AUTO_REPLY === 'true',
"AUTO_REACT": process.env.AUTO_REACT === 'true',
"WELCOME": process.env.WELCOME === 'true',
"ANTI_BAD": process.env.ANTI_BAD === 'true',
"ANTI_LINK": process.env.ANTI_LINK === 'true',
"ANTI_GROUP_LINK": process.env.ANTI_GROUP_LINK === 'true',
"ANTI_DELETE": process.env.ANTI_DELETE === 'true',
"ANTI_VIEW_ONCE": process.env.ANTI_VIEW_ONCE === 'true',
"ANTI_BOT": process.env.ANTI_BOT === 'true',
"PREMIUM_USERS": process.env.PREMIUM_USERS || "",
"COUNTRY_BLOCK": process.env.COUNTRY_BLOCK === 'true',
"COUNTRY_BLOCK_CODE": process.env.COUNTRY_BLOCK_CODE || "972",
"EMOJI": process.env.EMOJI || "🙄",
"AUTO_TYPING": process.env.AUTO_TYPING === 'true'
};