forked from ShirokamiRyzen/Nao-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
270 lines (245 loc) · 11 KB
/
config.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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
/*
𝐀𝐮𝐭𝐡𝐨𝐫 : Shirokami Ryzen
𝐖𝐚 : +6281387307198
𝐛𝐚𝐬𝐞 : Narutomo & Elaina
𝐌𝐲 𝐏𝐫𝐨𝐣𝐞𝐜𝐭 : 22 Nov 2022
*/
import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import moment from 'moment-timezone'
import { group } from 'console'
import PhoneNumber from 'awesome-phonenumber'
/*============= WAKTU =============*/
let wibh = moment.tz('Asia/Jakarta').format('HH')
let wibm = moment.tz('Asia/Jakarta').format('mm')
let wibs = moment.tz('Asia/Jakarta').format('ss')
let wktuwib = `${wibh} H ${wibm} M ${wibs} S`
let wktugeneral = `${wibh}:${wibm}:${wibs}`
let d = new Date(new Date + 3600000)
let locale = 'id'
let weton = ['Pahing', 'Pon', 'Wage', 'Kliwon', 'Legi'][Math.floor(d / 84600000) % 5]
let week = d.toLocaleDateString(locale, { weekday: 'long' })
let date = d.toLocaleDateString(locale, {
day: 'numeric',
month: 'long',
year: 'numeric'
})
const more = String.fromCharCode(8206)
const readMore = more.repeat(4001)
/*============= MAIN INFO =============*/
global.owner = [['6283867228380', 'DamzzBYG', true]]
global.mods = []
global.prems = []
global.nomorbot = '6285707101183'
global.nomorown = '6283867228380'
global.nomorwa = '0'
/*============= WATERMARK =============*/
global.readMore = readMore
global.author = 'Damzz'
global.namebot = 'Nao-Botz V5'
global.wm = '© NaoBotz By Damzz'
global.watermark = wm
global.botdate = `⫹⫺ DATE: ${week} ${date}\n⫹⫺ 𝗧𝗶𝗺𝗲: ${wktuwib}`
global.bottime = `T I M E : ${wktuwib}`
global.stickpack = `Sticker Dibuat dengan ${namebot}\ngithub.com/Dmr255\n\nNao-Bot\n+6283867228380`
global.stickauth = `© NaoBotz By ShirokamiRyzen`
global.week = `${week} ${date}`
global.wibb = `${wktuwib}`
/*============= OWNER INFO =============*/
global.nameown1= 'Ryzn'
global.nameown2 = 'Ryzn'
/*============= MEDIA LINK =============*/
global.Linkgc = 'Bentar'
global.lynk = ''
//*============= SOSMED =============*/
global.sig = 'https://www.instagram.com/ryzen_vermillion'
global.sgh = 'https://github.com/Dmr255' //github
global.sgc = '-' //group whatsapp
global.sdc = '-' //discord
global.snh = 'https://www.instagram.com/damarjati_25'
/*============= DONASI =============*/
global.pdana = '083867228380'
global.povo = '-'
global.pgopay = '083867228380'
global.plinkaja = '-' //link aja
global.ppulsa = '083867228380'
global.ppulsa2 = '6285707101183'
global.psaweria = '-'
/*============= TAMPILAN =============*/
global.ListHargaSewa = '├ 5 Hari IDR 3.000\n├ 7 Hari IDR 5.000\n├ 15+5 Hari IDR 10.000\n├ 30 Hari IDR 15.000'
global.LyAtas1 = '☰ ━━━ ❨'
global.LyAtas2 = '❩ ━━┄┈ •⟅'
global.Ly = '┃'
global.lybwh = '┗━━┈┈ ⳻⳻'
global.sym = '◈▻'
global.sym2 = '➭'
global.dmenut = 'ଓ═┅═━–〈' //top
global.dmenub = '┊↬' //body
global.dmenub2 = '┊' //body for info cmd on Default menu
global.dmenuf = '┗––––––––––✦' //footer
global.dashmenu = '┅═┅═❏ *DASHBOARD* ❏═┅═┅'
global.cmenut = '❏––––––『' //top
global.cmenuh = '』––––––' //header
global.cmenub = '┊✦ ' //body
global.cmenuf = '┗━═┅═━––––––๑\n' //footer
global.cmenua = '\n⌕ ❙❘❙❙❘❙❚❙❘❙❙❚❙❘❙❘❙❚❙❘❙❙❚❙❘❙❙❘❙❚❙❘ ⌕\n '
global.pmenus = '✦'
global.htki = '––––––『' // Hiasan Titile (KIRI)
global.htka = '』––––––' // Hiasan Title (KANAN)
global.lopr = 'Ⓟ' //LOGO PREMIUM ON MENU.JS
global.lolm = 'Ⓛ' //LOGO LIMIT/FREE ON MENU.JS
global.htjava = '⫹⫺' //hiasan Doang :v
global.hsquere = ['⛶','❏','⫹⫺']
/*============= RESPON =============*/
global.stiker_wait = 'Please Wait...'
global.wait = 'Please Wait...'
global.eror = 'Error!'
/*============= RESPON GAME =============*/
global.benar = 'Good Job! ◕◡◕'
global.salah = 'Not Bad! ◕◠◕'
global.dikit = "Dikit Lagi, Semangat!!"
/*============= RPG GAME =============*/
global.multiplier = 69 // The higher, The harder levelup
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
agility: '🤸♂️',
arc: '🏹',
armor: '🥼',
bank: '🏦',
bibitanggur: '🍇',
bibitapel: '🍎',
bibitjeruk: '🍊',
bibitmangga: '🥭',
bibitpisang: '🍌',
bow: '🏹',
bull: '🐃',
cat: '🐈',
chicken: '🐓',
common: '📦',
cow: '🐄',
crystal: '🔮',
darkcrystal: '♠️',
diamond: '💎',
dog: '🐕',
dragon: '🐉',
elephant: '🐘',
emerald: '💚',
exp: '✉️',
fishingrod: '🎣',
fox: '🦊',
gems: '🍀',
giraffe: '🦒',
gold: '👑',
health: '❤️',
horse: '🐎',
intelligence: '🧠',
iron: '⛓️',
keygold: '🔑',
keyiron: '🗝️',
knife: '🔪',
legendary: '🗃️',
level: '🧬',
limit: '🌌',
lion: '🦁',
magicwand: '⚕️',
mana: '🪄',
money: '💵',
mythic: '🗳️',
pet: '🎁',
petFood: '🍖',
pickaxe: '⛏️',
pointxp: '📧',
potion: '🥤',
rock: '🪨',
snake: '🐍',
stamina: '⚡',
strength: '🦹♀️',
string: '🕸️',
superior: '💼',
sword: '⚔️',
tiger: '🐅',
trash: '🗑',
uncommon: '🎁',
upgrader: '🧰',
wood: '🪵'
}
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]]
}
}
/*============= WEB API KEY =============*/
global.openai = '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' //api key bisa didapatkan dari https://openai.com/api/
global.org = 'YOUR_APIKEY_HERE' //openAI Organization name
global.lolkey = 'SGWN' //buy API at https://api.lolhuman.xyz
global.uptime = 'u1931038-1f70a77eef5964be82e7d606' // Masukin APIKEY uptimerobot kamu disini ===== https://uptimerobot.com/dashboard?ref=website-header#mySettings
global.xzn = 'YOUR_APIKEY_HERE' //daftar sendiri jika key habis https://xzn.wtf/
global.xyro = 'YOUR_APIKEY_HERE' //https://api.xyroinee.xyz/
global.ryzen = 'YOUR_APIKEY_HERE' //daftar di api.ryzendesu.com/
global.APIs = {
// name: 'https://website'
lol: 'https://api.lolhuman.xyz',
violetics : 'https://violetics.pw',
males : 'https://api.lolhuman.xyz' //web api terserah ganti apa aja (buat welcome sama leave gc)
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
'https://api.lolhuman.xyz': 'SGWN',
'https://violetics.pw': 'beta',
}
/*============= OTHER =============*/
global.dpptx = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
global.ddocx = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
global.dxlsx = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
global.dpdf = 'application/pdf'
global.drtf = 'text/rtf'
//OPTIONS
global.optsnsfw = true // Untuk mematikan Dan Menyalakan Nsfw
global.premnsfw = true // Nsfw Mode Premium?
global.thumb = 'https://telegra.ph/file/a7ac2b46f82ef7ea083f9.jpg' //Main Thumbnail
global.imagebot = 'https://telegra.ph/file/a7ac2b46f82ef7ea083f9.jpg'
global.giflogo = 'https://telegra.ph/file/a7ac2b46f82ef7ea083f9.jpg'
global.thumbs = ['https://telegra.ph/file/a7ac2b46f82ef7ea083f9.jpg']
global.thumbnailUrl = [
'https://telegra.ph/file/ef4b742d47e6a9115e2ff.jpg'
]
global.fotonya1 = 'https://telegra.ph/file/6e45318d7c76f57e4a8bd.jpg' //ganti jadi foto bot mu
global.fotonya2 = 'https://telegra.ph/file/6e45318d7c76f57e4a8bd.jpg' //ini juga ganti
global.flaaa2 = [
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=water-logo&script=water-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextColor=%23000&shadowGlowColor=%23000&backgroundColor=%23000&text=",
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=crafts-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&text=",
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=amped-logo&doScale=true&scaleWidth=800&scaleHeight=500&text=",
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&text=",
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&fillColor1Color=%23f2aa4c&fillColor2Color=%23f2aa4c&fillColor3Color=%23f2aa4c&fillColor4Color=%23f2aa4c&fillColor5Color=%23f2aa4c&fillColor6Color=%23f2aa4c&fillColor7Color=%23f2aa4c&fillColor8Color=%23f2aa4c&fillColor9Color=%23f2aa4c&fillColor10Color=%23f2aa4c&fillOutlineColor=%23f2aa4c&fillOutline2Color=%23f2aa4c&backgroundColor=%23101820&text="
]
global.fla = [
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=water-logo&script=water-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextColor=%23000&shadowGlowColor=%23000&backgroundColor=%23000&text=",
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=crafts-logo&fontsize=90&doScale=true&scaleWidth=800&scaleHeight=500&text=",
"https://flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=amped-logo&doScale=true&scaleWidth=800&scaleHeight=500&text=",
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&text=",
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&fillTextType=1&fillTextPattern=Warning!&fillColor1Color=%23f2aa4c&fillColor2Color=%23f2aa4c&fillColor3Color=%23f2aa4c&fillColor4Color=%23f2aa4c&fillColor5Color=%23f2aa4c&fillColor6Color=%23f2aa4c&fillColor7Color=%23f2aa4c&fillColor8Color=%23f2aa4c&fillColor9Color=%23f2aa4c&fillColor10Color=%23f2aa4c&fillOutlineColor=%23f2aa4c&fillOutline2Color=%23f2aa4c&backgroundColor=%23101820&text="
]
global.hwaifu = ['https://telegra.ph/file/a7ac2b46f82ef7ea083f9.jpg']
global.thumblvlup = [
'https://telegra.ph/file/cc444e235a6073ef29b32.jpg',
'https://telegra.ph/file/6bc4e87932d7ea57b79ef.jpg',
'https://telegra.ph/file/bc2302ee38daa46c094ea.jpg',
'https://telegra.ph/file/c552a9fb2848811247f82.jpg'
]
global.dtu = 'INSTAGRAM'
global.urlnya = "https://www.instagram.com/ryzen_vermillion"
global.dtc = 'CALL OWNER'
global.phn = '0813 8730 7198'
/*============= JANGAN DIUBAH =============*/
global.fsizedoc = '99999999999999'
global.fpagedoc = '999'
global.thumbdoc = 'https://telegra.ph/file/6e45318d7c76f57e4a8bd.jpg'
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})