-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
213 lines (202 loc) ยท 8.18 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
const chalk = require("chalk")
const fs = require("fs")
//aumto presence update
global.autoTyping = true //auto tying in gc (true to on, false to off)
global.autoRecord = false //auto recording (true to on, false to off)
global.autoblockmorroco = true //auto block 212 (true to on, false to off)
global.autokickmorroco = true //auto kick 212 (true to on, false to off)
global.antispam = false//auto kick spammer (true to on, false to off)
//===============SETTING MENU==================\\
global.thumbnail = fs.readFileSync("./data/image/thumb.jpg")
global.ig = '@jr_danzz'
global.yt = 'Danz Nano'
global.ttowner = '@danznano'
global.ownername = '๐บ DanzXnano ๐บ'
global.owner = ['6285892928715'] // SETTING JUGA DI FOLDER DATABASE
global.ownernomer = '6285892928715'
global.socialm = 'GitHub: -'
global.location = 'Indonesia'
//=============================================\\
global.botname = "NanoBotz ID"
global.ownernumber = '6285892928715'
global.botnumber = '6283113267224'
global.ownername = 'DanzXnano'
global.ownerNumber = ["[email protected]"]
global.ownerweb = ""
global.websitex = ""
global.wagc = "https://chat.whatsapp.com/KWbm1aJrld679P1YMFespR"
global.saluran = "https://whatsapp.com/channel/0029Vainc1WHFxP6JCHZJx06"
global.themeemoji = '๐ช'
global.wm = "NanoBotz ID| bot wangsap gg"
global.botscript = 'Dah gede nyari sc ๐ฟ๐' //script link
global.packname = "Sticker By"
global.author = "\n\n\n\n\nCreate by NanoBotz ID\nNo hape/wa : 6283113267224"
global.creator = "[email protected]"
//======================== CPANEL FITUR ===========================\\
global.domain = 'https://server1.joshuastore.biz.id' // Isi Domain Lu jangan kasih tanda / di akhir link
global.apikey = 'ptla_7lFLXckkwYSWzihoztfEaoxqGS5l3HLvL30wWASXyJq' // Isi Apikey Plta Lu
global.capikey = 'ptlc_ClbAnXraRfvLobzPSxgxBsdb4QlioQx1va8vvt1pKIK' // Isi Apikey Pltc Lu
//=========================================================//
//Server create panel egg pm2
global.apikey2 = '-' // Isi Apikey Plta Lu
global.capikey2 = '-' // Isi Apikey Pltc Lu
global.domain2 = '-' // Isi Domain Lu
global.docker2 = "ghcr.io/cekilpedia/vip:sanzubycekil" //jangan di ubah
global.eggsnya2 = '15' // id eggs yang dipakai
global.location2 = '1' // id location
//===========================//
global.domainotp = "https://claudeotp.com/api"
global.apikeyotp = "a395f97fe99f4fad0e790d10af518b9a"
global.eggsnya = '15' // id eggs yang dipakai
global.location3 = '1' // id location
global.tekspushkon = ""
global.tekspushkonv2 = ""
global.tekspushkonv3 = ""
global.tekspushkonv4 = ""
//===========================//
global.decor = {
menut: 'โโโ
โโโโฉ',
menub: 'โโข',
menub2: 'โ',
menuf: 'โโโโโโโโโโโโฆ',
hiasan: '๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท อ ๊ฆ อ ๊ท',
menut: 'โโโโโโใ',
menuh: 'ใโโโโโโ',
menub: 'โโ๏ธ ',
menuf: 'โโโโ
โโโโโโโโเน\n',
menua: '',
menus: 'โ๏ธ',
htki: 'โโโโโโใ',
htka: 'ใโโโโโโ',
haki: 'โ
โโโโโ
โโ',
haka: 'โโโ
โโโโโ
',
lopr: 'โ
',
lolm: 'โ',
htjava: 'โ'
}
//===========================//
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
level: '๐',
limit: '๐ซ',
health: 'โค๏ธ',
exp: 'โจ',
atm: '๐ณ',
money: '๐ฐ',
bank: '๐ฆ',
potion: '๐ฅค',
diamond: '๐',
common: '๐ฆ',
uncommon: '๐๏ธ',
mythic: '๐',
legendary: '๐๏ธ',
superior: '๐ผ',
pet: '๐',
trash: '๐',
armor: '๐ฅผ',
sword: 'โ๏ธ',
makanancentaur: "๐ฅ",
makanangriffin: "๐ฅ",
makanankyubi: "๐",
makanannaga: "๐",
makananpet: "๐ฅฉ",
makananphonix: "๐ง",
pickaxe: 'โ๏ธ',
fishingrod: '๐ฃ',
wood: '๐ชต',
rock: '๐ชจ',
string: '๐ธ๏ธ',
horse: '๐ด',
cat: '๐ฑ',
dog: '๐ถ',
fox: '๐ฆ',
robo: '๐ค',
petfood: '๐',
iron: 'โ๏ธ',
gold: '๐ช',
emerald: 'โ๏ธ',
upgrader: '๐งฐ',
bibitanggur: '๐ฑ',
bibitjeruk: '๐ฟ',
bibitapel: 'โ๏ธ',
bibitmangga: '๐',
bibitpisang: '๐ด',
anggur: '๐',
jeruk: '๐',
apel: '๐',
mangga: '๐ฅญ',
pisang: '๐',
botol: '๐พ',
kardus: '๐ฆ',
kaleng: '๐ฎ',
plastik: '๐',
gelas: '๐ง',
chip: 'โ',
umpan: '๐ชฑ',
naga: "๐",
phonix: "๐ฆ
",
kyubi: "๐ฆ",
griffin: "๐ฆ",
centaur: "๐ ",
skata: '๐งฉ'
}
let results = Object.keys(emot).map(v => [v, new RegExp(v, 'gi')]).filter(v => v[1].test(string))
if (!results.length) return ''
else return emot[results[0][0]]
}
}
//new
global.prefix = ['','!','.','#','&']
global.sessionName = 'session'
global.hituet = 0
//media target
global.thum = fs.readFileSync("./data/image/thumb.jpg") //ur thumb pic
global.log0 = fs.readFileSync("./data/image/thumb.jpg") //ur logo pic
global.err4r = fs.readFileSync("./data/image/thumb.jpg") //ur error pic
global.thumb = fs.readFileSync("./data/image/thumb.jpg") //ur thumb pic
global.defaultpp = 'https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png?q=60' //default pp wa
//menu image maker
global.flaming = 'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text='
global.fluming = 'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=fluffy-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text='
global.flarun = 'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=runner-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text='
global.flasmurf = 'https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=smurfs-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text='
//messages
global.mess = {
wait: "*_Tunggu sebentar ya Kakโก._*",
success: "Sukses Kak",
on: "Sudah Aktif",
off: "Sudah Off",
query: {
text: "Teks Nya Mana Kak?",
link: "Link Nya Mana Kak?",
},
error: {
fitur: "Mohon Maaf Kak Fitur Eror Silahkan Chat Developer Bot Agar Bisa Segera Diperbaiki",
},
only: {
group: "Maaf Kak Fitur Ini Hanya Bisa Digunakan Di Dalam Group",
private: "Maaf Kak Fitur Ini Hanya Bisa Digunakan Di Dalam Private Chat",
owner: "Maaf Kak Fitur Ini Hanya Bisa Digunakan Sama Owner Bot",
admin: "Maaf Kak Fitur Ini Hanya Bisa Digunakan Sama Owner Bot",
badmin: "Maaf Kak Kaya Nya Kakak Tidak Bisa Menggunakan Fitur Ini Di Karenakan Bot Bukan Admin Group",
premium: "แดแดแดา แดแดแดแด สแดสแดแด แดแดษดแดแดแด
ษช แดsแดส แดสแดแดษชแดแด แดษดแดแดแด แดแดษดแดแดแด
ษช แดสแดแดษชแดแด sษชสแดแดแดษด สแดสษช แด
ษช แดแดกษดแดส แด
แดษดษขแดษด แดแดสแด แดแดแดษชแด .แดแดกษดแดส",
}
}
//if api key expire, u can generate one from here: https://beta.openai.com/account/api-keys
global.keyopenai = "pk-pIWAlRroXTOAigkWdHcYvmlmgzEQXuoMWbVAaLAVZswSRbEB"
//documents variants
global.doc1 = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
global.doc2 = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
global.doc3 = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
global.doc4 = 'application/zip'
global.doc5 = 'application/pdf'
global.doc6 = 'application/vnd.android.package-archive'
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})