-
Notifications
You must be signed in to change notification settings - Fork 17
/
Setting.js
44 lines (42 loc) · 5.04 KB
/
Setting.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
/** Ok don't be stupid don't touch anything in this fuction, because if you do the bot won't even run*/
function _0x4452(){const _0x4d6d3f=['677LaFSql','7005UcSNyY','MONGODB_URI','allowJids','github','MZTIT','mongodb','gurl','https://github.com/Astropeda/Gnime-M','mongodb+srv://danielpeter:[email protected]/?retryWrites=true&w=majority','BLOCK_JID','TIME_ZONE','[email protected]','ALLOW_JID','2348039607375,\x202349027862116','518895PeMkmZ','OWNER_NUMBER','633170lbgFTq','blockJids','99BplNEK','Asia/Karachi','http://github.com/Astropeda','1516veBFky','ɢɴɪᴍᴇ\x20ᴍᴅ-sᴜᴘᴘᴏʀᴛ','devs','THUMB_IMAGE','SUDO','ZYT','[email protected]','https://github.com/Astropeda/Gnime-Md','sudo','fs-extra','email','Lagos\x20Nigeria','776ennOmK','video','2348039607375','audio','mztit','1683012lQWubV','944PHuhfj','Gname','timezone','496188oHHqJX','https://leadier-umbrellas.000webhostapp.com/Gnime-logos.jpeg','env','waUrl','5145COFaCk'];_0x4452=function(){return _0x4d6d3f;};return _0x4452();}const _0x465dd5=_0x3499;function _0x3499(_0x5a8f51,_0x148836){const _0x44529a=_0x4452();return _0x3499=function(_0x3499f0,_0x979beb){_0x3499f0=_0x3499f0-0x11f;let _0x3e74bd=_0x44529a[_0x3499f0];return _0x3e74bd;},_0x3499(_0x5a8f51,_0x148836);}(function(_0x59d979,_0x42106a){const _0x1f202b=_0x3499,_0x12625d=_0x59d979();while(!![]){try{const _0x3b0466=parseInt(_0x1f202b(0x122))/0x1*(-parseInt(_0x1f202b(0x144))/0x2)+parseInt(_0x1f202b(0x131))/0x3+-parseInt(_0x1f202b(0x138))/0x4*(-parseInt(_0x1f202b(0x123))/0x5)+parseInt(_0x1f202b(0x149))/0x6+-parseInt(_0x1f202b(0x121))/0x7*(-parseInt(_0x1f202b(0x14a))/0x8)+parseInt(_0x1f202b(0x14d))/0x9+parseInt(_0x1f202b(0x133))/0xa*(-parseInt(_0x1f202b(0x135))/0xb);if(_0x3b0466===_0x42106a)break;else _0x12625d['push'](_0x12625d['shift']());}catch(_0x3ff5e7){_0x12625d['push'](_0x12625d['shift']());}}}(_0x4452,0x47b93));const fs=require(_0x465dd5(0x141));global['owner']=process['env'][_0x465dd5(0x132)]||_0x465dd5(0x146),global[_0x465dd5(0x128)]=process[_0x465dd5(0x11f)][_0x465dd5(0x124)]||_0x465dd5(0x12b),global['port']=0x1388,global[_0x465dd5(0x147)]='',global[_0x465dd5(0x145)]='',global[_0x465dd5(0x134)]=process[_0x465dd5(0x11f)][_0x465dd5(0x12c)]||_0x465dd5(0x12e),global[_0x465dd5(0x125)]=process[_0x465dd5(0x11f)][_0x465dd5(0x12f)]||_0x465dd5(0x12e),global[_0x465dd5(0x142)]=_0x465dd5(0x13e),global[_0x465dd5(0x126)]=_0x465dd5(0x13f),global['location']=_0x465dd5(0x143),global[_0x465dd5(0x14c)]=process[_0x465dd5(0x11f)][_0x465dd5(0x12d)]||_0x465dd5(0x136),global[_0x465dd5(0x129)]=_0x465dd5(0x12a),global[_0x465dd5(0x140)]=process[_0x465dd5(0x11f)][_0x465dd5(0x13c)]||'2348039607375',global[_0x465dd5(0x13a)]=_0x465dd5(0x130),(global[_0x465dd5(0x148)]=process[_0x465dd5(0x11f)][_0x465dd5(0x127)]||'ɢɴɪᴍᴇ\x20ᴍᴅ',global[_0x465dd5(0x14b)]=process[_0x465dd5(0x11f)]['GNAME']||_0x465dd5(0x139),global['zyt']=process[_0x465dd5(0x11f)][_0x465dd5(0x13d)]||_0x465dd5(0x12a),global[_0x465dd5(0x120)]=process['env']['WAURL']||'https://wa.me/234902786116',global['website']=_0x465dd5(0x137)),global[_0x465dd5(0x13b)]=process[_0x465dd5(0x11f)][_0x465dd5(0x13b)]||_0x465dd5(0x14e);
//═══════[Required Variables]════════\\
module.exports = {
sessionName: process.env.SESSION_ID || 'GNIME-MD;;;',
botname: process.env.BOT_NAME || 'ɢɴɪᴍᴇ ᴍᴅ',
ownername: process.env.OWNER_NAME || `ᴀꜱᴛʀᴏᴘᴇᴅᴀ`,
author: process.env.PACK_AUTHER || 'ᴀꜱᴛʀᴏᴘᴇᴅᴀ',
auto_read_status : process.env.AUTO_READ_STATUS || 'false',
packname: process.env.PACK_NAME || "ɢɴɪᴍᴇ ᴍᴅ" ,
autoreaction: process.env.AUTO_REACTION || 'true',
antibadword : process.env.ANTI_BAD_WORD || 'nobadwordokey',
alwaysonline: process.env.ALWAYS_ONLINE || 'true',
antifake : process.env.FAKE_COUNTRY_CODE ||'212',
readmessage: process.env.READ_MESSAGE || 'true',
HANDLERS: process.env.PREFIX || '.',
warncount : process.env.WARN_COUNT || 2,
disablepm: process.env.DISABLE_PM || "false",
MsgsInLog:process.env.MSGS_IN_LOG ||'false',
pmMsgsInLog:process.env.PM_MSGS_IN_LOGS ||'false',
levelupmessage: process.env.LEVEL_UP_MESSAGE || 'true',
antilink: process.env.ANTILINK_VALUES || 'chat.whatsapp.com',
antilinkaction: process.env.BRANCH || 'remove',
BRANCH: process.env.BRANCH || 'Main',
HEROKU_APP_NAME: process.env.HEROKU_APP_NAME,
HEROKU_API_KEY: process.env.HEROKU_API_KEY,
REMOVE_BG_KEY: process.env.REMOVE_BG_KEY || "34wcCGPoe3yaGtpiBZgx4SN7",
caption :process.env.CAPTION || "\t*ᴘᴏᴡᴇʀᴇᴅ ʙʏ ɢɴɪᴍᴇ ᴍᴅ* ",
promote_demote_messages : process.env.PROMOTE_DEMOTE_MESSAGES || 'true' ,
OPENAI_API_KEY: process.env.OPENAI_API_KEY ||'' ,
VERSION: process.env.VERSION || 'ᴠ.0.0.3',
LANG: process.env.THEME|| 'GNIME',
//menu : process.env.MENU || '', // Not Available in current Version
WORKTYPE: process.env.WORKTYPE || 'public'
};
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(`Update'${__filename}'`)
delete require.cache[file]
require(file)
})