-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.js
46 lines (46 loc) · 2.52 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
const toBool = (x) => x == 'true'
const { existsSync } = require('fs')
if (existsSync('config.env')) require('dotenv').config({ path: './config.env' })
module.exports = {
SESSION_ID: process.env.SESSION_ID || '', //your ssid to run bot
MONGO_URL : process.env.MONGO_URL,//must be enter your mongo url;
HEROKU: {
API_KEY: process.env.HEROKU_API_KEY,
APP_NAME: process.env.HEROKU_APP_NAME
},
BASE_URL : "https://inrl-web.onrender.com/",
TUTORIAL : "https://youtube.com/@noureddineouafy2",
PMB_MSG : "pm msgs isn't allowed",
PMBC_MSG : "pm call isn't allowed",
AUTOMUTE_MSG : "_group will been muted at @time_",
AUTOUNMUTE_MSG : "_group will unmute at @time_",
GIT : "www.instagram.com/noureddine_ouafy",
WAGRP : 'www.instagram.com/noureddine_ouafy',
ALLWAYS_ONLINE: toBool(process.env.ALLWAYS_ONLINE || "true"),
REACT : toBool(process.env.REACT || "false"),
AUTO_BIO : toBool(process.env.AUTO_BIO || "false"),
PM_BLOCK : toBool(process.env.PM_BLOCK || "false"),
BGMBOT : toBool(process.env.BGMBOT || "false"),
CALL_BLOCK : toBool(process.env.CALL_BLOCK || "false"),
STATUS_VIEW : toBool(process.env.STATUS_VIEW || "true"),
READ_CHAT : toBool(process.env.READ_CHAT || "false"),
AUTO_CHAT_PM : toBool(process.env.AUTO_CHAT_PM || "false"),
AUTO_CHAT_GRP : toBool(process.env.AUTO_CHAT_GRP || "false"),
FOOTER : process.env.FOOTER || "zaytouna-ᴍᴅ",
PASSWORD : process.env.PASSWORD || 'inrl-bot~md',
WARNCOUND : process.env.WARNCOUND || 5,
ALIVE_DATA : process.env.ALIVE_DATA || "$text>_iam alive now &sender_",
BOT_INFO : process.env.BOT_INFO || "212605784394;INRL-BOT-MD;INRL;https://telegra.ph/file/c6ba7236049356210a8b5.jpg",
WORKTYPE : process.env.WORKTYPE || "public",
PREFIX : process.env.PREFIX || false,
WELCOME_MSG : process.env.WELCOME_MSG || "$text>_hey bro/sis_ *&user*\nthanks for join;$image>&pp;",
EXIT_MSG : process.env.EXIT_MSG || "$text>_goodbye _ *&user*;$image>&pp;",
LANG : process.env.LANG || "en",
BLOCK_CHAT : process.env.BLOCK_CHAT || "[email protected], [email protected]",//set chat similarly
BOT_PRESENCE : process.env.BOT_PRESENCE || "recording",
AUDIO_DATA : process.env.AUDIO_DATA || "ᴍᴜꜱɪᴄ;ᴋɪᴅ;https://telegra.ph/file/c6ba7236049356210a8b5.jpg",
STICKER_DATA : process.env.AUDIO_DATA || "zaytouna;bot",
INSTAGRAM : process.env.INSTAGRAM || "nullX",
CAPTION : process.env.CAPTION || "created by www.instagram.com/noureddine_ouafy",
SUDO : process.env.SUDO || "212605784394"
};