forked from AyGemuy/Taylor-V2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
447 lines (433 loc) ยท 14 KB
/
config.js
File metadata and controls
447 lines (433 loc) ยท 14 KB
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
import { readFileSync, watchFile, unwatchFile } from "fs";
import chalk from "chalk";
import { fileURLToPath } from "url";
import moment from "moment-timezone";
moment.locale("id");
import colors from "colors";
import { WA_DEFAULT_EPHEMERAL } from "@whiskeysockets/baileys";
const { cosplay, mountain, dynamic, flamming, galau, estetik, waifu, boneka } =
JSON.parse(readFileSync("./json/image/image.json"));
const imgSource = [
"https://api.btstu.cn/sjbz/api.php?lx=1920x1080",
"https://minimalistic-wallpaper.demolab.com/?random",
"https://www.loremflickr.com/1920/1080",
"https://www.picsum.photos/1920/1080",
];
const proxyUrl = [
"https://cors-flame.vercel.app/api/cors?url=",
"https://cors.newfrontdoor.org/api/cors?url=",
"https://cors-anywhere-oragne.vercel.app/api/cors?url=",
];
async function loadConfig() {
try {
colors.setTheme({
main: ["brightBlue", "bold"],
silly: "rainbow",
input: "grey",
verbose: "cyan",
prompt: "grey",
info: "green",
data: "grey",
help: "cyan",
warn: "yellow",
debug: "blue",
error: "brightRed",
}),
(global.owner = [["6282195322106", "๏ธ๐พ๐๐
๐๐๐๐๐ - ๐ถ๐๐๐๐", !0]]),
(global.mods = ["6282195322106"]),
(global.prems = ["6282195322106"]),
(global.APIs = {
amel: "https://melcanz.com",
bg: "http://bochil.ddns.net",
dhnjing: "https://dhnjing.xyz",
fdci: "https://api.fdci.se",
hardianto: "https://hardianto.xyz",
lolhuman: "https://api.lolhuman.xyz",
neoxr: "https://api.neoxr.eu",
pencarikode: "https://pencarikode.xyz",
zeks: "https://api.zeks.xyz",
zenz: "https://api.zahwazein.xyz",
btchx: "https://api.botcahx.eu.org",
nyxs: "https://api.nyxs.pw",
ngodingaja: "https://api.ngodingaja.my.id",
ryzendesu: "https://apis.ryzendesu.vip",
sandipbaruwal: "https://sandipbaruwal.onrender.com",
ssa: "https://ssa-api.vercel.app",
vyturex: "https://www.api.vyturex.com",
widipe: "https://widipe.com",
proxy: pickRandom(proxyUrl),
}),
(global.APIKeys = {
"https://api.neoxr.eu": pickRandom(["5VC9rvNx", "lucycat"]),
"https://api.lolhuman.xyz": pickRandom([
"043c5de3b7cd6b1b8f2a0f90",
"e1a815979e6adfc071b7eafc",
"ed78c137a46873c5b8e5fe3b",
"IchanZX",
"GataDios",
"elainaai",
]),
"https://api.zeks.xyz": "apivinz",
"https://hardianto.xyz": "hardianto",
"https://melcanz.com": "manHkmst",
"https://pencarikode.xyz": "pais",
"https://api.zahwazein.xyz": "zenzkey_1ec92f71d3bb",
"https://api.botcahx.eu.org": "ngGdhzHk",
"https://prodia.com": [
"7e33be3f-5af6-42b2-854b-6439b3732050",
"48847940-aded-4214-9400-333c518105f0",
"69dc2e5b-24b3-426e-952f-6a36fbd69722",
"5f4179ac-0d29-467c-bfbc-32db97afa1d4",
"dc80a8a4-0b98-4d54-b3e4-b7c797bc2527",
],
}),
(global.nomorbot = "6285198276345"),
(global.nomorown = "6282195322106"),
(global.namebot = " แดแดyสแดส-สแดแด ใโฉ "),
(global.nameown = "ใ ๐พ๐๐
๐๐๐๐๐ ใ"),
(global.pmenus = pickRandom([
"ไน",
"โ",
"โญ",
"เฌ",
"โโข",
"โณป",
"โข",
"โฌ",
"โ",
"โญ",
"แฏฌ",
"โ",
"แญป",
"ยป",
"ใ",
"ใ
",
"โฅ",
"โ",
"โ",
"โ",
"โช",
])),
(global.htjava = pickRandom([
"ไน",
"โถ",
"โ",
"โซนโซบ",
"โฐ",
"โ",
"โฆ",
"โญ",
"โฌ",
"โ",
"โ",
])),
(global.wm = " ใ แดแดyสแดส-สแดแด ใโฉ ใ"),
(global.wm2 = "๊ท๏ธถ๊ท๊ฅ๊ท โงโห ๊ฐเธ
หึ
ีกีผษสหเธ
๊ฑ โงโห๊ท๏ธถ๊ท๊ฅ๊ท"),
(global.wm3 = htjava + " แดแดyสแดส-สแดแด"),
(global.giflogo = VideoGalau()),
(global.fla = pickRandom(ImgLogoFlam())),
(global.flaaa = ImgLogoFlam()),
(global.brandc = ImgLogoDynamic()),
(global.sig = "https://www.instagram.com/wudysoft"),
(global.sgh = "https://www.github.com/AyGemuy"),
(global.sgc = "https://s.id/gc-taylor"),
(global.sdc = "https://www.discord.com/wudysoft"),
(global.snh = "https://www.tiktok.com/@upload_file"),
(global.sfb = "https://www.facebook.com/"),
(global.syt = "https://www.youtube.com/"),
(global.useContextInfo = false),
(global.premnsfw = !0),
(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"),
(global.fsizedoc = SizeDoc()),
(global.fpagedoc = PageDoc()),
(global.dmenut = htjava + "โโโใ"),
(global.dmenub = "โ" + pmenus),
(global.dmenub2 = "โ" + pmenus),
(global.dmenuf = "โฐโโโโโโโโโโโณน"),
(global.dashmenu = "โฐ *D A S B O A R D* โฐ"),
(global.htki = htjava + "โโโใ"),
(global.htka = "ใโโโ" + htjava),
(global.hwaifu = ImgWaifu()),
(global.hbeach = ImgCosplay()),
(global.thumbnailUrl = ImgBoneka()),
(global.hoppai = ImgCosplay()),
(global.hloli = ImgCosplay()),
(global.hyuri = ImgCosplay()),
(global.hneko = ImgCosplay()),
(global.hLokun = ImgCosplay()),
(global.hbunny = ImgCosplay()),
(global.thumbs = ImgBoneka()),
(global.thumb = pickRandom([...imgSource, ImgEstetik()])),
(global.imagebot = pickRandom([...imgSource, ImgMountain()])),
(global.thumbdoc = pickRandom([...imgSource, ImgEstetik()])),
(global.logo = pickRandom([...imgSource, ImgMountain()])),
(global.ucapan = Pagi()),
(global.ephemeral = WA_DEFAULT_EPHEMERAL),
(global.doc = pickRandom([
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.ms-excel",
"application/msword",
"application/pdf",
"text/rtf",
])),
(global.knimg = pickRandom([...imgSource, ImgMountain()])),
(global.lopr = "๐
"),
(global.lolm = "โ"),
(global.cmenut = htjava + "โโโใ"),
(global.cmenuh = "ใโโโ" + htjava),
(global.cmenub = "โ" + pmenus),
(global.cmenuf = "โฐโโโโโโโโโโโณน"),
(global.cmenua = "\nโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ\n "),
(global.emojis = pickRandom([
"๐",
"๐",
"๏ธ๐ฟ",
"๐น",
"๏ธ๐ก",
"๐ช",
"๐",
"๐",
"๐",
"๐",
"โค",
"โ๐ฅ",
"๐ค",
"๐ญ",
"๐",
"๐ฌ",
"๐ฉ",
"๐",
"๐",
"๐ฟ",
"๐ฅ",
"โจ",
"โก",
"โ๏ธ",
])),
(global.packname = "๐ด๐๐
๐ ๐๐"),
(global.stickpack = packname),
(global.author = "๐ป๐๐๐๐๐ ไน ๐พ๐๐
๐๐๐๐๐"),
(global.stickauth = author + "\nwa.me/" + nomorbot),
(global.multiplier = 69),
(global.eror = pickRandom(["โ", "๐ซ", "๐ฅ", "โ"])),
(global.wait = pickRandom(["โณ", "โ", "โฐ", "โฑ๏ธ"])),
(global.sukses = pickRandom(["โจ", "๐", "๐", "๐ฅณ", "โ
", "๐"])),
(global.render = pickRandom([
"_*`Rendering ๐`*_",
"_*`Processing ๐`*_",
"_*`Generating content ๐`*_",
])),
(global.webs = "https://s.id/Cerdasin62"),
(global.gcwangsaf = "https://chat.whatsapp.com/GoHmb4noThh92L8FFf79Bh"),
(global.saweria = "https://saweria.com/wudysoft"),
(global.pulsa = "082195322106"),
(global.trakteer = "https://trakteer.id/wudysoft"),
(global.paypal = "wudysoft@mail.com"),
(global.gopay = "082195322106"),
(global.povo = "082195322106"),
(global.pgopay = "082195322106"),
(global.ppulsa = "082195322106"),
(global.ppulsa2 = "082195322106"),
(global.psaweria = "https://saweria.com/Wudysoft"),
(global.rpg = {
emoticon(string) {
string = string.toLowerCase();
const emot = {
Fox: "๐ฆ",
agility: "๐คธโโ๏ธ",
anggur: "๐",
apel: "๐",
aqua: "๐ฅค",
arc: "๐น",
armor: "๐ฅผ",
bank: "๐ฆ",
batu: "๐งฑ",
berlian: "๐",
bibitanggur: "๐",
bibitapel: "๐",
bibitjeruk: "๐",
bibitmangga: "๐ฅญ",
bibitpisang: "๐",
botol: "๐พ",
bow: "๐น",
bull: "๐",
cat: "๐",
centaur: "๐ ",
chicken: "๐",
coal: "โฑ๏ธ",
common: "๐ฆ",
cow: "๐",
crystal: "๐ฎ",
darkcrystal: "โ ๏ธ",
diamond: "๐",
dog: "๐",
dragon: "๐",
eleksirb: "๐งช",
elephant: "๐",
emasbatang: "๐ช",
emasbiasa: "๐ฅ",
emerald: "๐",
exp: "โ๏ธ",
fishingrod: "๐ฃ",
foodpet: "๐ฑ",
fox: "๐ฆ",
gardenboc: "๐ณ๏ธ",
gardenboxs: "๐ฆ",
gems: "๐",
giraffe: "๐ฆ",
gold: "๐",
griffin: "๐ฆ",
health: "โค๏ธ",
healtmonster: "โคโ๐ฅ",
horse: "๐",
intelligence: "๐ง ",
iron: "โ๏ธ",
jeruk: "๐",
kaleng: "๐ฅซ",
kardus: "๐ฆ",
kayu: "๐ชต",
ketake: "๐ฟ",
keygold: "๐",
keyiron: "๐๏ธ",
knife: "๐ช",
koinexpg: "๐",
kucing: "๐",
kuda: "๐",
kyubi: "๐ฆ",
legendary: "๐๏ธ",
level: "๐งฌ",
limit: "๐",
lion: "๐ฆ",
magicwand: "โ๏ธ",
makanancentaur: "๐ฅ",
makanangriffin: "๐ฅ",
makanankyubi: "๐",
makanannaga: "๐",
makananpet: "๐ฅฉ",
makananphonix: "๐ง",
mana: "๐ช",
mangga: "๐ฅญ",
money: "๐ต",
mythic: "๐ณ๏ธ",
mythic: "๐ช",
naga: "๐",
pancingan: "๐ฃ",
pet: "๐",
petFood: "๐",
phonix: "๐ฆ
",
pickaxe: "โ๏ธ",
pisang: "๐",
pointxp: "๐ง",
potion: "๐ฅค",
rock: "๐ชจ",
robo: "๐ค",
rubah: "๐ฆ",
sampah: "๐๏ธ",
serigala: "๐บ",
snake: "๐",
stamina: "โก",
strength: "๐ฆนโโ๏ธ",
string: "๐ธ๏ธ",
superior: "๐ผ",
sword: "โ๏ธ",
tiger: "๐
",
tiketcoin: "๐๏ธ",
trash: "๐",
umpan: "๐ชฑ",
uncommon: "๐",
upgrader: "๐งฐ",
wood: "๐ชต",
},
results = Object.keys(emot)
.map((v) => [v, new RegExp(v, "gi")])
.filter((v) => v[1].test(string));
return results.length ? emot[results[0][0]] : "";
},
});
} catch (err) {
console.error(`Error in Load Config: ${err.message}`);
} finally {
setTimeout(loadConfig, 9e5);
}
}
export { loadConfig };
const file = fileURLToPath(import.meta.url);
function Pagi() {
const waktunya = moment.tz("Asia/Makassar").format("HH");
return waktunya >= 24
? "Selamat Begadang ๐ฟ"
: waktunya >= 18
? "Selamat malam ๐"
: waktunya >= 15
? "Selamat sore ๐
"
: waktunya > 10
? "Selamat siang โ๏ธ"
: waktunya >= 4
? "Selamat pagi ๐"
: "Selamat Pagi ๐ฟ";
}
function pickRandom(list) {
const shuffledList = list.slice().sort(() => Math.random() - 0.5);
return shuffledList[Math.floor(Math.random() * shuffledList.length)];
}
function ImgCosplay() {
return cosplay;
}
function ImgMountain() {
return pickRandom(mountain);
}
function ImgLogoDynamic() {
return dynamic.map(
(id) => `https://dynamic.brandcrowd.com/asset/logo/${id}/logo?v=4&text=`,
);
}
function ImgLogoFlam() {
return flamming.map(
(id) =>
`https://flamingtext.com/net-fu/proxy_form.cgi?imageoutput=true&script=${id}&doScale=true&scaleWidth=480&scaleHeight=240&fontsize=120&backgroundColor=%23000300&shadowType=2&text=`,
);
}
function VideoGalau() {
return `https://telegra.ph/file/${pickRandom(galau)}.mp4`;
}
function ImgEstetik() {
return pickRandom(estetik);
}
function ImgWaifu() {
return waifu;
}
function ImgBoneka() {
return boneka;
}
function Sapa() {
return pickRandom(["Apa kabar ", "Halo ", "Hai "]);
}
function SizeDoc() {
return Math.pow(10, 15);
}
function PageDoc() {
return Math.pow(10, 10);
}
function businessOwnerJid() {
return pickRandom([
pickRandom([
global.nomorown,
"0",
"628561122343",
"6288906250517",
"6282195322106",
"6281119568305",
"6281282722861",
"6282112790446",
]) + "@s.whatsapp.net",
]);
}