forked from Dark-Xploit/CypherX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.js
111 lines (91 loc) · 4.08 KB
/
settings.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//project_name : XPLOADER
// @author : TYLOR
// @youtube : https://www.youtube.com/@heyits_tylor
// @instagram : heyits_tylor
// @telegram : t.me/heyits_tylor
// @github : Dark-Xploit
// @tiktok : heyits_tylor
// @whatsapp : +254754783972
//*
//*
//=================================================//
const fs = require('fs')
const { color } = require('./lib/color')
if (fs.existsSync('.env')) require('dotenv').config({ path: __dirname+'/.env' })
//=================================================//
global.SESSION_ID = process.env.SESSION_ID || ''
//Enter your Xploader session id here; must start with XPLOADER-BOT:~
//=================================================//
global.botname = process.env.BOT_NAME || '᙭ᑭᒪOᗩᗪᗴᖇ ᗷOT'
//Your desired bot name
//=================================================//
global.ownernumber = process.env.OWNER_NUMBER || '254754783972'
//Type your main number here
//=================================================//
global.sudo = process.env.SUDO ? process.env.SUDO.split(',') : ['254796180105', '16582020723'];
// Type additional allowed users here
//NB: They'll be able to use every functions of the bot without restrictions.
//=================================================//
global.ownername = process.env.OWNER_NAME || 'Tylor'
//Type your name here
//=================================================//
global.plink = process.env.PLINK || "https://www.instagram.com/heyits_tylor?igsh=YzljYTk1ODg3Zg=="
//=================================================//
global.wm = process.env.GL_WM || "©᙭ᑭᒪOᗩᗪᗴᖇ ᗷOT"
//=================================================//
global.packname = process.env.STICKER_PACK_NAME || "᙭ᑭᒪOᗩᗪᗴᖇ"
//The sticker pack name
//=================================================//
global.author = process.env.STICKER_AUTHOR_NAME || "ᗷOT"
//The sticker author name
//=================================================//
global.prefixz = process.env.PREFIX || '.'
//Set your desired prefix
//=================================================//
global.mode = process.env.MODE || 'public';
// Set to 'private' to enable private mode, otherwise default is 'public'
//=================================================//
global.hituet = 0
//=================================================//
global.autoviewstatus = process.env.AUTO_STATUS_VIEW || 'true'
//=================================================//
//=================================================//
global.anticall = process.env.ANTI_CALL || 'false'
//=================================================//
global.welcome = process.env.WELCOME_MSG || 'false'
//=================================================//
global.timezones = process.env.TIMEZONE || "Africa/Nairobi"
//Don't edit this if you don't know!
//=================================================//
global.autoread = process.env.AUTO_READ || 'false';
// Set to 'true' to enable automatic reading of messages
//=================================================//
global.menustyle = process.env.MENU_STYLE || '2'
// options 1, 2, 3, 4 or 5
// 1 = Document menu(Android only)
// 2 = Text only menu(Android & iOS)
//3 = Image menu with context(Android & iOS)
//4 = Image menu(Android & iOS)
//5 = Payment menu
//=================================================//
//Replies
global.mess = {
limit: '*Your limit is used up!*',
done: '*Done*',
error: '*Sorry, I cannot perform that action!*',
success: '*©𝐗𝐩𝐥𝐨𝐚𝐝𝐞𝐫𝐁𝐨𝐭*',
owner: '*Apologies, only my owner can use this command!*',
group: '*This feature becomes available when you use it in a group!*',
admin: '*You’ll unlock this feature with me as an admin!*',
notadmin: '*This feature will work once you become an admin. A way of ensuring order!*'
}
//=================================================//
//=================================================//
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(color(`Updated '${__filename}'`, 'red'))
delete require.cache[file]
require(file)
})
//=================================================//