Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.js #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ if (fs.existsSync('config.env')) require('dotenv').config({ path: __dirname+'/co


//═══════[Required Variables]════════\\
global.owner = process.env.OWNER_NUMBER || "923184070915" // Make SURE its Not Be Empty, Else Bot Stoped And Errors,
global.owner = process.env.OWNER_NUMBER || "218914807168" // Make SURE its Not Be Empty, Else Bot Stoped And Errors,
global.mongodb = process.env.MONGODB_URI || "mongodb+srv://salmanahmad:[email protected]/?retryWrites=true&w=majority"
global.port= process.env.PORT || 5000
global.email = '[email protected]'
global.github = 'https://github.com/salmanytofficial/XLICON-MD'
global.location = 'Lahore Pak'
global.gurl = 'https://instagram.com/itz_shaikho/' // add your username
global.sudo = process.env.SUDO || '923184070915'
global.devs = '923184070915';
global.sudo = process.env.SUDO || '218914807168'
global.devs = '218926265138';
global.website = 'https://github.com/salmanytofficial/XLICON-MD' //wa.me/+91000000000000
global.THUMB_IMAGE = process.env.THUMB_IMAGE || 'https://telegra.ph/file/3c341828d86ee7a89c73f.jpg'
module.exports = {
sessionName: process.env.SESSION_ID || " ", //PUT Session Id Here,
author: process.env.PACK_AUTHER || '',
packname: process.env.PACK_NAME || '',
sessionName: process.env.SESSION_ID || "XLICON-MD;;;eyJub2lzZUtleSI6eyJwcml2YXRlIjp7InR5cGUiOiJCdWZmZXIiLCJkYXRhIjoiV0tCWmxLOG0zcGVlL3A0OHNvWGtsRUd4VnB5eTRITGh2ODJucS9vTE9VQT0ifSwicHVibGljIjp7InR5cG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JXc1RWN3VuTENBYVZ4In19XSwicGxhdGZvcm0iOiJhbmRyb2lkIiwibGFzdEFjY291bnRTeW5jVGltZXN0YW1wIjoxNzAxMTAyOTc5fQ==", //PUT Session Id Here,
author: process.env.PACK_AUTHER || 'RUDY',
packname: process.env.PACK_NAME || 'GIN',

botname: process.env.BOT_NAME === undefined ? "Xlicon-Md" : process.env.BOT_NAME,
ownername: process.env.OWNER_NAME === undefined ? 'salmanytofficial' : process.env.OWNER_NAME,
auto_read_status : process.env.AUTO_READ_STATUS === undefined ? false : process.env.AUTO_READ_STATUS,
autoreaction: process.env.AUTO_REACTION === undefined ? false : process.env.AUTO_REACTION ,
botname: process.env.BOT_NAME === undefined ? "rudy-chan" : process.env.BOT_NAME,
ownername: process.env.OWNER_NAME === undefined ? 'rudy' : process.env.OWNER_NAME,
auto_read_status : process.env.AUTO_READ_STATUS === undefined ? true : process.env.AUTO_READ_STATUS,
autoreaction: process.env.AUTO_REACTION === undefined ? true : process.env.AUTO_REACTION ,
antibadword : process.env.ANTI_BAD_WORD === undefined ? 'nbwoed' : process.env.ANTI_BAD_WORD,
alwaysonline: process.env.ALWAYS_ONLINE === undefined ? false : process.env.ALWAYS_ONLINE,
antifake : process.env.FAKE_COUNTRY_CODE === undefined ? '971' : process.env.FAKE_COUNTRY_CODE,
Expand All @@ -35,7 +35,7 @@ module.exports = {
antilink: process.env.ANTILINK_VALUES === undefined ? 'chat.whatsapp.com' : process.env.ANTILINK_VALUES,
antilinkaction: process.env.ANTILINK_ACTION === undefined ? 'remove' : process.env.ANTILINK_ACTION,
BRANCH: 'main',
ALIVE_MESSAGE: process.env.ALIVE_MESSAGE === undefined ? '' : process.env.ALIVE_MESSAGE,
ALIVE_MESSAGE: process.env.ALIVE_MESSAGE === undefined ? 'HI IM ALIVE NOW' : process.env.ALIVE_MESSAGE,
autobio: process.env.AUTO_BIO === undefined ? false : process.env.AUTO_BIO,
OPENAI_API_KEY: process.env.OPENAI_API_KEY === undefined ? false : process.env.OPENAI_API_KEY,
heroku: process.env.heroku === undefined ? false : process.env.heroku,
Expand Down