mmm / config.js
ravenbs1's picture
Upload 140 files
046b271 verified
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
AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "true",
// make true or false status auto seen
AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || "true",
// make true if you want auto reply on status
AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || "true",
// make true if you want auto reply on status
AUTO_STATUS_MSG: process.env.AUTO_STATUS_MSG || "*SEEN YOUR STATUS JUST NOW ALI-MD 👻*",
// set the auto reply massage on status reply
PREFIX: process.env.PREFIX || ".",
// add your prifix for bot
BOT_NAME: process.env.BOT_NAME || "ALI-MD",
// add bot namw here for menu
STICKER_NAME: process.env.STICKER_NAME || "ALI-MD",
// type sticker pack name
CUSTOM_REACT: process.env.CUSTOM_REACT || "false",
// make this true for custum emoji react
CUSTOM_REACT_EMOJIS: process.env.CUSTOM_REACT_EMOJIS || "💝,💖,💗,❤️‍🩹,❤️,🧡,💛,💚,💙,💜,🤎,🖤,🤍",
// chose custom react emojis by yourself
DELETE_LINKS: process.env.DELETE_LINKS || "false",
// automatic delete links witho remove member
OWNER_NUMBER: process.env.OWNER_NUMBER || "923003588997",
// add your bot owner number
OWNER_NAME: process.env.OWNER_NAME || "ALI",
// add bot owner name
OWNER_REACT: process.env.OWNER_REACT || "false",
// make this true or false for auto react on all msgs
WELCOME: process.env.WELCOME || "true",
// true if want welcome msg in groups
GOODBYE: process.env.GOODBYE || "true",
// true if want goodbye msg in groups
ADMIN_STATUS: process.env.ADMIN_STATUS || "false",
// make true to know who dismiss or promoted a member in group
ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false",
// maks true for always online
MENTION_REPLY: process.env.MENTION_REPLY || "false",
// maks true for always online
ANTI_CALL: process.env.ANTI_CALL || "true",
//maks anticall true, false for calls
REJECT_MSG: process.env.REJECT_MSG || "*📞 ᴄαℓℓ ɴσт αℓℓσωє∂ ιɴ тнιѕ ɴᴜмвєʀ уσυ ∂σɴт нανє ᴘєʀмιѕѕισɴ 📵*",
// add anticall message
DESCRIPTION: process.env.DESCRIPTION || "*© ᴘσωєʀє∂ ву αℓι м∂⎯꯭̽💀*",
// add bot owner name
ALIVE_IMG: process.env.ALIVE_IMG || "https://cdn.ironman.my.id/i/2du3i5.jpg",
// add img for alive msg
LIVE_MSG: process.env.LIVE_MSG || "> HEY 👋 IM ALIVE NOW*⚡",
// 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_WORD: process.env.ANTI_BAD_WORD || "true",
// false or true for anti bad words
MODE: process.env.MODE || "public",
// make bot public-private-inbox-group
DELETE_LINK: process.env.DELETE_LINK || "true",
// make anti link true,false for groups
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
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
READ_CMD: process.env.READ_CMD || "false",
// true if want mark commands as read
DEV: process.env.DEV || "923003588997",
//replace with your whatsapp number
ANTI_VV: process.env.ANTI_VV || "true",
// true for anti once view
ANTI_DEL_PATH: process.env.ANTI_DEL_PATH || "log",
// change it to 'same' if you want to resend deleted message in same chat
AUTO_RECORDING: process.env.AUTO_RECORDING || "false"
// make it true for auto recoding
};