-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
60 lines (59 loc) · 2.47 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
const fs = require('fs');
if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });
function convertToBool(text, fault = 'true') {
return text === fault ? true : false;
}
module.exports = {
SESSION_ID: process.env.SESSION_ID || "",
// add your Session Id
PREFIX: process.env.PREFIX || ".",
// add your prifix for bot
BOT_NAME: process.env.BOT_NAME || "Mercedes",
// add bot namw here for menu
DELETE_LINKS: process.env.DELETE_LINKS || "true",
// automatic delete links witho remove member
OWNER_NUMBER: process.env.OWNER_NUMBER || "254740007567",
// add your bot owner number
OWNER_NAME: process.env.OWNER_NAME || "Marisel",
// add bot owner name
DESCRIPTION: process.env.DESCRIPTION || "*Engine By Mercedes*",
// add bot owner name
ALIVE_IMG: process.env.ALIVE_IMG || "https://i.imgur.com/De6NL8R.jpeg",
// add img for alive msg
LIVE_MSG: process.env.LIVE_MSG || "> *Ooh hey Pal I love you*",
// add alive msg here
READ_MESSAGE: process.env.READ_MESSAGE || "false",
// Turn true or false for automatic read msgs
AUTO_REACT: process.env.AUTO_REACT || "false",
// make this true or false for auto react on all msgs
ANTI_BAD: process.env.ANTI_BAD || "false",
// false or true for anti bad words
AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "true",
// make true or false status auto seen
AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || "false",
// make true if you want auto reply on status
AUTO_STATUS__MSG: process.env.AUTO_STATUS__MSG || "*Viewed*",
// set the auto reply massage on status reply
MODE: process.env.MODE || "private",
// make bot public-private-inbox-group
ANTI_LINK: process.env.ANTI_LINK || "true",
// make anti link true,false for groups
AUTO_VOICE: process.env.AUTO_VOICE || "false",
// make true for send automatic voices
AUTO_STICKER: process.env.AUTO_STICKER || "false",
// make true for automatic stickers
AUTO_REPLY: process.env.AUTO_REPLY || "false",
// make true or false automatic text reply
HEART_REACT: process.env.HEART_REACT || "false",
// make this true or false for heart reactions only
OWNER_REACT: process.env.OWNER_REACT || "false",
// make it true or fasle for only react on owner msg only
ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false",
// maks true for always online
PUBLIC_MODE: process.env.PUBLIC_MODE || "true",
// make false if want private mod
AUTO_TYPING: process.env.AUTO_TYPING || "false",
// true for automatic show typing
AUTO_RECORDING: process.env.AUTO_RECORDING || "false"
// make it true for auto recoding
};