apexify.js 4.0.12 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/ApexAI.d.ts +1 -2
- package/dist/ai/ApexAI.d.ts.map +1 -1
- package/dist/ai/ApexAI.js.map +1 -1
- package/dist/ai/ApexModules.d.ts +17 -0
- package/dist/ai/ApexModules.d.ts.map +1 -0
- package/dist/ai/ApexModules.js +704 -0
- package/dist/ai/ApexModules.js.map +1 -0
- package/dist/ai/functions/draw.d.ts +1 -2
- package/dist/ai/functions/draw.d.ts.map +1 -1
- package/dist/ai/functions/draw.js +505 -504
- package/dist/ai/functions/draw.js.map +1 -1
- package/dist/ai/functions/generateVoiceResponse.d.ts +1 -2
- package/dist/ai/functions/generateVoiceResponse.d.ts.map +1 -1
- package/dist/ai/functions/generateVoiceResponse.js.map +1 -1
- package/dist/ai/functions/shouldDrawImage.js +2 -3
- package/dist/ai/functions/shouldDrawImage.js.map +1 -1
- package/dist/ai/functions/validOptions.d.ts +3 -3
- package/dist/ai/functions/validOptions.d.ts.map +1 -1
- package/dist/ai/functions/validOptions.js +44 -117
- package/dist/ai/functions/validOptions.js.map +1 -1
- package/dist/ai/modals-chat/Gemini-flash.js +2 -26
- package/dist/ai/modals-chat/Gemini-pro.d.ts.map +1 -1
- package/dist/ai/modals-chat/Gemini-pro.js +6 -3
- package/dist/ai/modals-chat/Gemini-pro.js.map +1 -1
- package/dist/ai/utils.d.ts +1 -1
- package/dist/ai/utils.d.ts.map +1 -1
- package/dist/ai/utils.js +3 -3
- package/dist/ai/utils.js.map +1 -1
- package/lib/ai/ApexAI.ts +1 -2
- package/lib/ai/ApexModules.ts +733 -0
- package/lib/ai/functions/draw.ts +33 -25
- package/lib/ai/functions/generateVoiceResponse.ts +1 -2
- package/lib/ai/functions/validOptions.ts +44 -194
- package/lib/ai/modals-chat/Gemini-pro.ts +18 -16
- package/lib/ai/utils.ts +1 -1
- package/package.json +9 -1
- package/dist/ai/direct-use.d.ts +0 -9
- package/dist/ai/direct-use.d.ts.map +0 -1
- package/dist/ai/direct-use.js +0 -572
- package/dist/ai/direct-use.js.map +0 -1
- package/dist/ai/functions/Gemini.d.ts +0 -6
- package/dist/ai/functions/Gemini.d.ts.map +0 -1
- package/dist/ai/functions/Gemini.js +0 -103
- package/dist/ai/functions/Gemini.js.map +0 -1
- package/dist/ai/functions/aivoice.d.ts +0 -1
- package/dist/ai/functions/aivoice.d.ts.map +0 -1
- package/dist/ai/functions/aivoice.js +0 -2
- package/dist/ai/functions/aivoice.js.map +0 -1
- package/dist/ai/models.d.ts +0 -9
- package/dist/ai/models.d.ts.map +0 -1
- package/dist/ai/models.js +0 -575
- package/dist/ai/models.js.map +0 -1
- package/lib/ai/direct-use.ts +0 -586
|
@@ -11,11 +11,13 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
11
11
|
const validOptions_1 = require("./validOptions");
|
|
12
12
|
const api_1 = __importDefault(require("api"));
|
|
13
13
|
const sdk = (0, api_1.default)("@prodia/v1.3.0#be019b2kls0gqss3");
|
|
14
|
-
|
|
14
|
+
sdk.auth('43435e1c-cab1-493f-a224-f51e4b97ce8d');
|
|
15
|
+
async function aiImagine(message, numOfImages, textToDraw, hercai, imageModal, nsfw, nsfwKeyWords, deepCheck, enhancer, buttons, RespondMessage) {
|
|
15
16
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
16
17
|
const maxRetryAttempts = 4;
|
|
17
18
|
const retryInterval = 5000;
|
|
18
19
|
let response;
|
|
20
|
+
const imageType = await validOptions_1.validOptions;
|
|
19
21
|
async function retry(fn, retriesLeft = maxRetryAttempts) {
|
|
20
22
|
try {
|
|
21
23
|
return await fn();
|
|
@@ -42,7 +44,7 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
42
44
|
const imageUrls = [];
|
|
43
45
|
for (let _0x4d7fb6 = 0x0; _0x4d7fb6 < numOfImages; _0x4d7fb6++) {
|
|
44
46
|
try {
|
|
45
|
-
if (
|
|
47
|
+
if (imageModal === 'prodia') {
|
|
46
48
|
response = await retry(() => hercai.betaDrawImage({
|
|
47
49
|
prompt: translatedText.text,
|
|
48
50
|
negative_prompt: enhancer.negative_prompt,
|
|
@@ -54,15 +56,15 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
54
56
|
scale: enhancer.cfgScale,
|
|
55
57
|
}));
|
|
56
58
|
}
|
|
57
|
-
else if (
|
|
59
|
+
else if (imageType.validHercaiModals.includes(imageModal)) {
|
|
58
60
|
response = await retry(() => hercai.drawImage({
|
|
59
|
-
model:
|
|
61
|
+
model: imageModal,
|
|
60
62
|
prompt: translatedText.text,
|
|
61
63
|
}));
|
|
62
64
|
}
|
|
63
|
-
else if (
|
|
65
|
+
else if (imageType.validProdiaModals.includes(imageModal)) {
|
|
64
66
|
const generateResponse = await sdk.generate({
|
|
65
|
-
model:
|
|
67
|
+
model: imageModal,
|
|
66
68
|
prompt: translatedText.text,
|
|
67
69
|
negative_prompt: enhancer.negative_prompt,
|
|
68
70
|
style_preset: enhancer.imgStyle,
|
|
@@ -77,9 +79,9 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
77
79
|
const generatedJobId = generateResponse.data.job;
|
|
78
80
|
response = await checkJobStatus(generatedJobId);
|
|
79
81
|
}
|
|
80
|
-
else if (
|
|
82
|
+
else if (imageType.validSXDL.includes(imageModal)) {
|
|
81
83
|
const generateResponse = await sdk.sdxlGenerate({
|
|
82
|
-
model:
|
|
84
|
+
model: imageModal,
|
|
83
85
|
prompt: translatedText.text,
|
|
84
86
|
negative_prompt: enhancer.negative_prompt,
|
|
85
87
|
style_preset: enhancer.imgStyle,
|
|
@@ -87,6 +89,8 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
87
89
|
sampler: enhancer.sampler,
|
|
88
90
|
seed: enhancer.seed,
|
|
89
91
|
steps: enhancer.steps,
|
|
92
|
+
width: enhancer.width,
|
|
93
|
+
height: enhancer.height
|
|
90
94
|
});
|
|
91
95
|
await ((_c = message.channel) === null || _c === void 0 ? void 0 : _c.sendTyping());
|
|
92
96
|
const generatedJobId = generateResponse.data.job;
|
|
@@ -111,7 +115,7 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
111
115
|
}
|
|
112
116
|
}
|
|
113
117
|
let buffferedImage;
|
|
114
|
-
if (
|
|
118
|
+
if (imageModal === "v3") {
|
|
115
119
|
const res = await retry(() => axios_1.default.get(response.url, {
|
|
116
120
|
responseType: "arraybuffer",
|
|
117
121
|
}));
|
|
@@ -137,506 +141,503 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
137
141
|
else {
|
|
138
142
|
const imageUrl = response.url || response;
|
|
139
143
|
await ((_e = message.channel) === null || _e === void 0 ? void 0 : _e.sendTyping());
|
|
144
|
+
const nsfwWords = [
|
|
145
|
+
"2g1c",
|
|
146
|
+
"2 girls 1 cup",
|
|
147
|
+
"acrotomophilia",
|
|
148
|
+
"alabama hot pocket",
|
|
149
|
+
"alaskan pipeline",
|
|
150
|
+
"anal",
|
|
151
|
+
"anilingus",
|
|
152
|
+
"anus",
|
|
153
|
+
"apeshit",
|
|
154
|
+
"arsehole",
|
|
155
|
+
"ass",
|
|
156
|
+
"asshole",
|
|
157
|
+
"assmunch",
|
|
158
|
+
"auto erotic",
|
|
159
|
+
"autoerotic",
|
|
160
|
+
"babeland",
|
|
161
|
+
"baby batter",
|
|
162
|
+
"baby juice",
|
|
163
|
+
"ball gag",
|
|
164
|
+
"ball gravy",
|
|
165
|
+
"ball kicking",
|
|
166
|
+
"ball licking",
|
|
167
|
+
"ball sack",
|
|
168
|
+
"ball sucking",
|
|
169
|
+
"bangbros",
|
|
170
|
+
"bangbus",
|
|
171
|
+
"bareback",
|
|
172
|
+
"barely legal",
|
|
173
|
+
"barenaked",
|
|
174
|
+
"bastard",
|
|
175
|
+
"bastardo",
|
|
176
|
+
"bastinado",
|
|
177
|
+
"bbw",
|
|
178
|
+
"bdsm",
|
|
179
|
+
"beaner",
|
|
180
|
+
"beaners",
|
|
181
|
+
"beaver cleaver",
|
|
182
|
+
"beaver lips",
|
|
183
|
+
"beastiality",
|
|
184
|
+
"bestiality",
|
|
185
|
+
"big black",
|
|
186
|
+
"big breasts",
|
|
187
|
+
"big knockers",
|
|
188
|
+
"big tits",
|
|
189
|
+
"bimbos",
|
|
190
|
+
"birdlock",
|
|
191
|
+
"bitch",
|
|
192
|
+
"bitches",
|
|
193
|
+
"black cock",
|
|
194
|
+
"blonde action",
|
|
195
|
+
"blonde on blonde action",
|
|
196
|
+
"blowjob",
|
|
197
|
+
"blow job",
|
|
198
|
+
"blow your load",
|
|
199
|
+
"blue waffle",
|
|
200
|
+
"blumpkin",
|
|
201
|
+
"bollocks",
|
|
202
|
+
"bondage",
|
|
203
|
+
"boner",
|
|
204
|
+
"boob",
|
|
205
|
+
"boobs",
|
|
206
|
+
"booty call",
|
|
207
|
+
"brown showers",
|
|
208
|
+
"brunette action",
|
|
209
|
+
"bukkake",
|
|
210
|
+
"bulldyke",
|
|
211
|
+
"bullet vibe",
|
|
212
|
+
"bullshit",
|
|
213
|
+
"bung hole",
|
|
214
|
+
"bunghole",
|
|
215
|
+
"busty",
|
|
216
|
+
"butt",
|
|
217
|
+
"buttcheeks",
|
|
218
|
+
"butthole",
|
|
219
|
+
"camel toe",
|
|
220
|
+
"camgirl",
|
|
221
|
+
"camslut",
|
|
222
|
+
"camwhore",
|
|
223
|
+
"carpet muncher",
|
|
224
|
+
"carpetmuncher",
|
|
225
|
+
"chocolate rosebuds",
|
|
226
|
+
"cialis",
|
|
227
|
+
"circlejerk",
|
|
228
|
+
"cleveland steamer",
|
|
229
|
+
"clit",
|
|
230
|
+
"clitoris",
|
|
231
|
+
"clover clamps",
|
|
232
|
+
"clusterfuck",
|
|
233
|
+
"cock",
|
|
234
|
+
"cocks",
|
|
235
|
+
"coprolagnia",
|
|
236
|
+
"coprophilia",
|
|
237
|
+
"cornhole",
|
|
238
|
+
"coon",
|
|
239
|
+
"coons",
|
|
240
|
+
"creampie",
|
|
241
|
+
"cum",
|
|
242
|
+
"cumming",
|
|
243
|
+
"cumshot",
|
|
244
|
+
"cumshots",
|
|
245
|
+
"cunnilingus",
|
|
246
|
+
"cunt",
|
|
247
|
+
"darkie",
|
|
248
|
+
"date rape",
|
|
249
|
+
"daterape",
|
|
250
|
+
"deep throat",
|
|
251
|
+
"deepthroat",
|
|
252
|
+
"dendrophilia",
|
|
253
|
+
"dick",
|
|
254
|
+
"dildo",
|
|
255
|
+
"dingleberry",
|
|
256
|
+
"dingleberries",
|
|
257
|
+
"dirty pillows",
|
|
258
|
+
"dirty sanchez",
|
|
259
|
+
"doggie style",
|
|
260
|
+
"doggiestyle",
|
|
261
|
+
"doggy style",
|
|
262
|
+
"doggystyle",
|
|
263
|
+
"dog style",
|
|
264
|
+
"dolcett",
|
|
265
|
+
"domination",
|
|
266
|
+
"dominatrix",
|
|
267
|
+
"dommes",
|
|
268
|
+
"donkey punch",
|
|
269
|
+
"double dong",
|
|
270
|
+
"double penetration",
|
|
271
|
+
"dp action",
|
|
272
|
+
"dry hump",
|
|
273
|
+
"dvda",
|
|
274
|
+
"eat my ass",
|
|
275
|
+
"ecchi",
|
|
276
|
+
"ejaculation",
|
|
277
|
+
"erotic",
|
|
278
|
+
"erotism",
|
|
279
|
+
"escort",
|
|
280
|
+
"eunuch",
|
|
281
|
+
"fag",
|
|
282
|
+
"faggot",
|
|
283
|
+
"fecal",
|
|
284
|
+
"felch",
|
|
285
|
+
"fellatio",
|
|
286
|
+
"feltch",
|
|
287
|
+
"female squirting",
|
|
288
|
+
"femdom",
|
|
289
|
+
"figging",
|
|
290
|
+
"fingerbang",
|
|
291
|
+
"fingering",
|
|
292
|
+
"fisting",
|
|
293
|
+
"foot fetish",
|
|
294
|
+
"footjob",
|
|
295
|
+
"frotting",
|
|
296
|
+
"fuck",
|
|
297
|
+
"fuck buttons",
|
|
298
|
+
"fuckin",
|
|
299
|
+
"fucking",
|
|
300
|
+
"fucktards",
|
|
301
|
+
"fudge packer",
|
|
302
|
+
"fudgepacker",
|
|
303
|
+
"futanari",
|
|
304
|
+
"gangbang",
|
|
305
|
+
"gang bang",
|
|
306
|
+
"gay sex",
|
|
307
|
+
"genitals",
|
|
308
|
+
"giant cock",
|
|
309
|
+
"girl on",
|
|
310
|
+
"girl on top",
|
|
311
|
+
"girls gone wild",
|
|
312
|
+
"goatcx",
|
|
313
|
+
"goatse",
|
|
314
|
+
"god damn",
|
|
315
|
+
"gokkun",
|
|
316
|
+
"golden shower",
|
|
317
|
+
"goodpoop",
|
|
318
|
+
"goo girl",
|
|
319
|
+
"goregasm",
|
|
320
|
+
"grope",
|
|
321
|
+
"group sex",
|
|
322
|
+
"g-spot",
|
|
323
|
+
"guro",
|
|
324
|
+
"hand job",
|
|
325
|
+
"handjob",
|
|
326
|
+
"hard core",
|
|
327
|
+
"hardcore",
|
|
328
|
+
"hentai",
|
|
329
|
+
"homoerotic",
|
|
330
|
+
"honkey",
|
|
331
|
+
"hooker",
|
|
332
|
+
"horny",
|
|
333
|
+
"hot carl",
|
|
334
|
+
"hot chick",
|
|
335
|
+
"how to kill",
|
|
336
|
+
"how to murder",
|
|
337
|
+
"huge fat",
|
|
338
|
+
"humping",
|
|
339
|
+
"incest",
|
|
340
|
+
"intercourse",
|
|
341
|
+
"jack off",
|
|
342
|
+
"jail bait",
|
|
343
|
+
"jailbait",
|
|
344
|
+
"jelly donut",
|
|
345
|
+
"jerk off",
|
|
346
|
+
"jigaboo",
|
|
347
|
+
"jiggaboo",
|
|
348
|
+
"jiggerboo",
|
|
349
|
+
"jizz",
|
|
350
|
+
"juggs",
|
|
351
|
+
"kike",
|
|
352
|
+
"kinbaku",
|
|
353
|
+
"kinkster",
|
|
354
|
+
"kinky",
|
|
355
|
+
"knobbing",
|
|
356
|
+
"leather restraint",
|
|
357
|
+
"leather straight jacket",
|
|
358
|
+
"lemon party",
|
|
359
|
+
"livesex",
|
|
360
|
+
"lolita",
|
|
361
|
+
"lovemaking",
|
|
362
|
+
"make me come",
|
|
363
|
+
"male squirting",
|
|
364
|
+
"masturbate",
|
|
365
|
+
"masturbating",
|
|
366
|
+
"masturbation",
|
|
367
|
+
"menage a trois",
|
|
368
|
+
"milf",
|
|
369
|
+
"missionary position",
|
|
370
|
+
"mong",
|
|
371
|
+
"motherfucker",
|
|
372
|
+
"mound of venus",
|
|
373
|
+
"mr hands",
|
|
374
|
+
"muff diver",
|
|
375
|
+
"muffdiving",
|
|
376
|
+
"nambla",
|
|
377
|
+
"nawashi",
|
|
378
|
+
"negro",
|
|
379
|
+
"neonazi",
|
|
380
|
+
"nigga",
|
|
381
|
+
"nigger",
|
|
382
|
+
"nig nog",
|
|
383
|
+
"nimphomania",
|
|
384
|
+
"nipple",
|
|
385
|
+
"nipples",
|
|
386
|
+
"nsfw",
|
|
387
|
+
'nsfw images',
|
|
388
|
+
"nude",
|
|
389
|
+
"nudity",
|
|
390
|
+
"nutten",
|
|
391
|
+
"nympho",
|
|
392
|
+
"nymphomania",
|
|
393
|
+
"octopussy",
|
|
394
|
+
"omorashi",
|
|
395
|
+
"one cup two girls",
|
|
396
|
+
'one guy one jar',
|
|
397
|
+
"orgasm",
|
|
398
|
+
"orgy",
|
|
399
|
+
'paedophile',
|
|
400
|
+
"paki",
|
|
401
|
+
"panties",
|
|
402
|
+
"panty",
|
|
403
|
+
"pedobear",
|
|
404
|
+
"pedophile",
|
|
405
|
+
'pegging',
|
|
406
|
+
'penis',
|
|
407
|
+
"phone sex",
|
|
408
|
+
'piece of shit',
|
|
409
|
+
"pikey",
|
|
410
|
+
"pissing",
|
|
411
|
+
"piss pig",
|
|
412
|
+
"pisspig",
|
|
413
|
+
"playboy",
|
|
414
|
+
"pleasure chest",
|
|
415
|
+
"pole smoker",
|
|
416
|
+
"ponyplay",
|
|
417
|
+
"poof",
|
|
418
|
+
"poon",
|
|
419
|
+
"poontang",
|
|
420
|
+
"punany",
|
|
421
|
+
"poop chute",
|
|
422
|
+
"poopchute",
|
|
423
|
+
"porn",
|
|
424
|
+
"porno",
|
|
425
|
+
"pornography",
|
|
426
|
+
"prince albert piercing",
|
|
427
|
+
"pthc",
|
|
428
|
+
"pubes",
|
|
429
|
+
"pussy",
|
|
430
|
+
"queaf",
|
|
431
|
+
"queef",
|
|
432
|
+
"quim",
|
|
433
|
+
"raghead",
|
|
434
|
+
"raging boner",
|
|
435
|
+
"rape",
|
|
436
|
+
"raping",
|
|
437
|
+
"rapist",
|
|
438
|
+
"rectum",
|
|
439
|
+
"reverse cowgirl",
|
|
440
|
+
"rimjob",
|
|
441
|
+
"rimming",
|
|
442
|
+
"rosy palm",
|
|
443
|
+
"rosy palm and her 5 sisters",
|
|
444
|
+
"rusty trombone",
|
|
445
|
+
"sadism",
|
|
446
|
+
"santorum",
|
|
447
|
+
"scat",
|
|
448
|
+
"schlong",
|
|
449
|
+
"scissoring",
|
|
450
|
+
"semen",
|
|
451
|
+
"sex",
|
|
452
|
+
"sexcam",
|
|
453
|
+
"sexo",
|
|
454
|
+
"sexy",
|
|
455
|
+
"sexual",
|
|
456
|
+
"sexually",
|
|
457
|
+
"sexuality",
|
|
458
|
+
"shaved beaver",
|
|
459
|
+
"shaved pussy",
|
|
460
|
+
"shemale",
|
|
461
|
+
"shibari",
|
|
462
|
+
"shit",
|
|
463
|
+
"shitblimp",
|
|
464
|
+
"shitty",
|
|
465
|
+
"shota",
|
|
466
|
+
"shrimping",
|
|
467
|
+
"skeet",
|
|
468
|
+
"slanteye",
|
|
469
|
+
"slut",
|
|
470
|
+
"s&m",
|
|
471
|
+
"smut",
|
|
472
|
+
"snatch",
|
|
473
|
+
"snowballing",
|
|
474
|
+
"sodomize",
|
|
475
|
+
"sodomy",
|
|
476
|
+
"spastic",
|
|
477
|
+
"spic",
|
|
478
|
+
"splooge",
|
|
479
|
+
"splooge moose",
|
|
480
|
+
"spooge",
|
|
481
|
+
"spread legs",
|
|
482
|
+
"spunk",
|
|
483
|
+
"strap on",
|
|
484
|
+
"strapon",
|
|
485
|
+
"strappado",
|
|
486
|
+
"strip club",
|
|
487
|
+
"style doggy",
|
|
488
|
+
"suck",
|
|
489
|
+
"sucks",
|
|
490
|
+
"suicide girls",
|
|
491
|
+
"sultry women",
|
|
492
|
+
"swastika",
|
|
493
|
+
"swinger",
|
|
494
|
+
"tainted love",
|
|
495
|
+
"taste my",
|
|
496
|
+
"tea bagging",
|
|
497
|
+
"threesome",
|
|
498
|
+
"throating",
|
|
499
|
+
"thumbzilla",
|
|
500
|
+
"tied up",
|
|
501
|
+
"tight white",
|
|
502
|
+
"tit",
|
|
503
|
+
"tits",
|
|
504
|
+
"titties",
|
|
505
|
+
"titty",
|
|
506
|
+
"topless",
|
|
507
|
+
"tosser",
|
|
508
|
+
"towelhead",
|
|
509
|
+
"tranny",
|
|
510
|
+
"tribadism",
|
|
511
|
+
"tub girl",
|
|
512
|
+
'tubgirl',
|
|
513
|
+
"tushy",
|
|
514
|
+
"twat",
|
|
515
|
+
"twink",
|
|
516
|
+
"twinkie",
|
|
517
|
+
"two girls one cup",
|
|
518
|
+
"undressing",
|
|
519
|
+
'upskirt',
|
|
520
|
+
"urethra play",
|
|
521
|
+
"urophilia",
|
|
522
|
+
"vagina",
|
|
523
|
+
"venus mound",
|
|
524
|
+
"viagra",
|
|
525
|
+
"vibrator",
|
|
526
|
+
"violet wand",
|
|
527
|
+
"vorarephilia",
|
|
528
|
+
"voyeur",
|
|
529
|
+
"voyeurweb",
|
|
530
|
+
"voyuer",
|
|
531
|
+
"vulva",
|
|
532
|
+
"wank",
|
|
533
|
+
"wetback",
|
|
534
|
+
"wet dream",
|
|
535
|
+
"white power",
|
|
536
|
+
"whore",
|
|
537
|
+
"worldsex",
|
|
538
|
+
"wrapping men",
|
|
539
|
+
"wrinkled starfish",
|
|
540
|
+
"xx",
|
|
541
|
+
"xxx",
|
|
542
|
+
"yaoi",
|
|
543
|
+
"yellow showers",
|
|
544
|
+
"yiffy",
|
|
545
|
+
"zoophilia",
|
|
546
|
+
"anal",
|
|
547
|
+
"arousal",
|
|
548
|
+
"balls",
|
|
549
|
+
"blowjob",
|
|
550
|
+
"busty",
|
|
551
|
+
"butt",
|
|
552
|
+
"cameltoe",
|
|
553
|
+
"climax",
|
|
554
|
+
"clitoris",
|
|
555
|
+
"cock",
|
|
556
|
+
"crotch",
|
|
557
|
+
"cum",
|
|
558
|
+
"cumshot",
|
|
559
|
+
"cunnilingus",
|
|
560
|
+
"dirty",
|
|
561
|
+
"dirtytalk",
|
|
562
|
+
"dildo",
|
|
563
|
+
"erect",
|
|
564
|
+
"erogenous",
|
|
565
|
+
"escort",
|
|
566
|
+
"explicit",
|
|
567
|
+
"facial",
|
|
568
|
+
"fetish",
|
|
569
|
+
"flirt",
|
|
570
|
+
"foreplay",
|
|
571
|
+
"genitals",
|
|
572
|
+
"groin",
|
|
573
|
+
"hardcore",
|
|
574
|
+
"hardon",
|
|
575
|
+
"horniness",
|
|
576
|
+
"horny",
|
|
577
|
+
"kamasutra",
|
|
578
|
+
"kinky",
|
|
579
|
+
"lewd",
|
|
580
|
+
"lingerie",
|
|
581
|
+
"lust",
|
|
582
|
+
"lustful",
|
|
583
|
+
"masturbate",
|
|
584
|
+
"mature",
|
|
585
|
+
"milf",
|
|
586
|
+
"naughty",
|
|
587
|
+
"naked",
|
|
588
|
+
"nipples",
|
|
589
|
+
"nude",
|
|
590
|
+
"obscene",
|
|
591
|
+
"oral",
|
|
592
|
+
"orgasm",
|
|
593
|
+
"penetration",
|
|
594
|
+
"penis",
|
|
595
|
+
"pleasure",
|
|
596
|
+
"porn",
|
|
597
|
+
"prostitute",
|
|
598
|
+
"provocative",
|
|
599
|
+
"pubic",
|
|
600
|
+
"pussy",
|
|
601
|
+
"seduce",
|
|
602
|
+
"seductive",
|
|
603
|
+
"sensual",
|
|
604
|
+
"sex",
|
|
605
|
+
"sexual",
|
|
606
|
+
"sperm",
|
|
607
|
+
"strip",
|
|
608
|
+
"striptease",
|
|
609
|
+
"swinger",
|
|
610
|
+
"testicles",
|
|
611
|
+
"thong",
|
|
612
|
+
"threesome",
|
|
613
|
+
"undies",
|
|
614
|
+
"undress",
|
|
615
|
+
"vagina",
|
|
616
|
+
"vibrator",
|
|
617
|
+
"wank",
|
|
618
|
+
"wet",
|
|
619
|
+
"hentai",
|
|
620
|
+
"bdsm",
|
|
621
|
+
"gay",
|
|
622
|
+
"lesbian",
|
|
623
|
+
"femboy",
|
|
624
|
+
"ass",
|
|
625
|
+
];
|
|
626
|
+
if (deepCheck) {
|
|
627
|
+
if (translatedText.text && nsfwWords.some(word => { var _a; return (_a = translatedText.text) === null || _a === void 0 ? void 0 : _a.includes(word); })) {
|
|
628
|
+
return message.reply("Warning ⚠️. Your prompt contains **`NSFW/Illegal/Prohibited`** words. Please refrain from doing this.");
|
|
629
|
+
}
|
|
630
|
+
}
|
|
140
631
|
if (nsfw) {
|
|
141
632
|
const textToCheck = await attemptImageCaptioning(imageUrl);
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
"acrotomophilia",
|
|
146
|
-
"alabama hot pocket",
|
|
147
|
-
"alaskan pipeline",
|
|
148
|
-
"anal",
|
|
149
|
-
"anilingus",
|
|
150
|
-
"anus",
|
|
151
|
-
"apeshit",
|
|
152
|
-
"arsehole",
|
|
153
|
-
"ass",
|
|
154
|
-
"asshole",
|
|
155
|
-
"assmunch",
|
|
156
|
-
"auto erotic",
|
|
157
|
-
"autoerotic",
|
|
158
|
-
"babeland",
|
|
159
|
-
"baby batter",
|
|
160
|
-
"baby juice",
|
|
161
|
-
"ball gag",
|
|
162
|
-
"ball gravy",
|
|
163
|
-
"ball kicking",
|
|
164
|
-
"ball licking",
|
|
165
|
-
"ball sack",
|
|
166
|
-
"ball sucking",
|
|
167
|
-
"bangbros",
|
|
168
|
-
"bangbus",
|
|
169
|
-
"bareback",
|
|
170
|
-
"barely legal",
|
|
171
|
-
"barenaked",
|
|
172
|
-
"bastard",
|
|
173
|
-
"bastardo",
|
|
174
|
-
"bastinado",
|
|
175
|
-
"bbw",
|
|
176
|
-
"bdsm",
|
|
177
|
-
"beaner",
|
|
178
|
-
"beaners",
|
|
179
|
-
"beaver cleaver",
|
|
180
|
-
"beaver lips",
|
|
181
|
-
"beastiality",
|
|
182
|
-
"bestiality",
|
|
183
|
-
"big black",
|
|
184
|
-
"big breasts",
|
|
185
|
-
"big knockers",
|
|
186
|
-
"big tits",
|
|
187
|
-
"bimbos",
|
|
188
|
-
"birdlock",
|
|
189
|
-
"bitch",
|
|
190
|
-
"bitches",
|
|
191
|
-
"black cock",
|
|
192
|
-
"blonde action",
|
|
193
|
-
"blonde on blonde action",
|
|
194
|
-
"blowjob",
|
|
195
|
-
"blow job",
|
|
196
|
-
"blow your load",
|
|
197
|
-
"blue waffle",
|
|
198
|
-
"blumpkin",
|
|
199
|
-
"bollocks",
|
|
200
|
-
"bondage",
|
|
201
|
-
"boner",
|
|
202
|
-
"boob",
|
|
203
|
-
"boobs",
|
|
204
|
-
"booty call",
|
|
205
|
-
"brown showers",
|
|
206
|
-
"brunette action",
|
|
207
|
-
"bukkake",
|
|
208
|
-
"bulldyke",
|
|
209
|
-
"bullet vibe",
|
|
210
|
-
"bullshit",
|
|
211
|
-
"bung hole",
|
|
212
|
-
"bunghole",
|
|
213
|
-
"busty",
|
|
214
|
-
"butt",
|
|
215
|
-
"buttcheeks",
|
|
216
|
-
"butthole",
|
|
217
|
-
"camel toe",
|
|
218
|
-
"camgirl",
|
|
219
|
-
"camslut",
|
|
220
|
-
"camwhore",
|
|
221
|
-
"carpet muncher",
|
|
222
|
-
"carpetmuncher",
|
|
223
|
-
"chocolate rosebuds",
|
|
224
|
-
"cialis",
|
|
225
|
-
"circlejerk",
|
|
226
|
-
"cleveland steamer",
|
|
227
|
-
"clit",
|
|
228
|
-
"clitoris",
|
|
229
|
-
"clover clamps",
|
|
230
|
-
"clusterfuck",
|
|
231
|
-
"cock",
|
|
232
|
-
"cocks",
|
|
233
|
-
"coprolagnia",
|
|
234
|
-
"coprophilia",
|
|
235
|
-
"cornhole",
|
|
236
|
-
"coon",
|
|
237
|
-
"coons",
|
|
238
|
-
"creampie",
|
|
239
|
-
"cum",
|
|
240
|
-
"cumming",
|
|
241
|
-
"cumshot",
|
|
242
|
-
"cumshots",
|
|
243
|
-
"cunnilingus",
|
|
244
|
-
"cunt",
|
|
245
|
-
"darkie",
|
|
246
|
-
"date rape",
|
|
247
|
-
"daterape",
|
|
248
|
-
"deep throat",
|
|
249
|
-
"deepthroat",
|
|
250
|
-
"dendrophilia",
|
|
251
|
-
"dick",
|
|
252
|
-
"dildo",
|
|
253
|
-
"dingleberry",
|
|
254
|
-
"dingleberries",
|
|
255
|
-
"dirty pillows",
|
|
256
|
-
"dirty sanchez",
|
|
257
|
-
"doggie style",
|
|
258
|
-
"doggiestyle",
|
|
259
|
-
"doggy style",
|
|
260
|
-
"doggystyle",
|
|
261
|
-
"dog style",
|
|
262
|
-
"dolcett",
|
|
263
|
-
"domination",
|
|
264
|
-
"dominatrix",
|
|
265
|
-
"dommes",
|
|
266
|
-
"donkey punch",
|
|
267
|
-
"double dong",
|
|
268
|
-
"double penetration",
|
|
269
|
-
"dp action",
|
|
270
|
-
"dry hump",
|
|
271
|
-
"dvda",
|
|
272
|
-
"eat my ass",
|
|
273
|
-
"ecchi",
|
|
274
|
-
"ejaculation",
|
|
275
|
-
"erotic",
|
|
276
|
-
"erotism",
|
|
277
|
-
"escort",
|
|
278
|
-
"eunuch",
|
|
279
|
-
"fag",
|
|
280
|
-
"faggot",
|
|
281
|
-
"fecal",
|
|
282
|
-
"felch",
|
|
283
|
-
"fellatio",
|
|
284
|
-
"feltch",
|
|
285
|
-
"female squirting",
|
|
286
|
-
"femdom",
|
|
287
|
-
"figging",
|
|
288
|
-
"fingerbang",
|
|
289
|
-
"fingering",
|
|
290
|
-
"fisting",
|
|
291
|
-
"foot fetish",
|
|
292
|
-
"footjob",
|
|
293
|
-
"frotting",
|
|
294
|
-
"fuck",
|
|
295
|
-
"fuck buttons",
|
|
296
|
-
"fuckin",
|
|
297
|
-
"fucking",
|
|
298
|
-
"fucktards",
|
|
299
|
-
"fudge packer",
|
|
300
|
-
"fudgepacker",
|
|
301
|
-
"futanari",
|
|
302
|
-
"gangbang",
|
|
303
|
-
"gang bang",
|
|
304
|
-
"gay sex",
|
|
305
|
-
"genitals",
|
|
306
|
-
"giant cock",
|
|
307
|
-
"girl on",
|
|
308
|
-
"girl on top",
|
|
309
|
-
"girls gone wild",
|
|
310
|
-
"goatcx",
|
|
311
|
-
"goatse",
|
|
312
|
-
"god damn",
|
|
313
|
-
"gokkun",
|
|
314
|
-
"golden shower",
|
|
315
|
-
"goodpoop",
|
|
316
|
-
"goo girl",
|
|
317
|
-
"goregasm",
|
|
318
|
-
"grope",
|
|
319
|
-
"group sex",
|
|
320
|
-
"g-spot",
|
|
321
|
-
"guro",
|
|
322
|
-
"hand job",
|
|
323
|
-
"handjob",
|
|
324
|
-
"hard core",
|
|
325
|
-
"hardcore",
|
|
326
|
-
"hentai",
|
|
327
|
-
"homoerotic",
|
|
328
|
-
"honkey",
|
|
329
|
-
"hooker",
|
|
330
|
-
"horny",
|
|
331
|
-
"hot carl",
|
|
332
|
-
"hot chick",
|
|
333
|
-
"how to kill",
|
|
334
|
-
"how to murder",
|
|
335
|
-
"huge fat",
|
|
336
|
-
"humping",
|
|
337
|
-
"incest",
|
|
338
|
-
"intercourse",
|
|
339
|
-
"jack off",
|
|
340
|
-
"jail bait",
|
|
341
|
-
"jailbait",
|
|
342
|
-
"jelly donut",
|
|
343
|
-
"jerk off",
|
|
344
|
-
"jigaboo",
|
|
345
|
-
"jiggaboo",
|
|
346
|
-
"jiggerboo",
|
|
347
|
-
"jizz",
|
|
348
|
-
"juggs",
|
|
349
|
-
"kike",
|
|
350
|
-
"kinbaku",
|
|
351
|
-
"kinkster",
|
|
352
|
-
"kinky",
|
|
353
|
-
"knobbing",
|
|
354
|
-
"leather restraint",
|
|
355
|
-
"leather straight jacket",
|
|
356
|
-
"lemon party",
|
|
357
|
-
"livesex",
|
|
358
|
-
"lolita",
|
|
359
|
-
"lovemaking",
|
|
360
|
-
"make me come",
|
|
361
|
-
"male squirting",
|
|
362
|
-
"masturbate",
|
|
363
|
-
"masturbating",
|
|
364
|
-
"masturbation",
|
|
365
|
-
"menage a trois",
|
|
366
|
-
"milf",
|
|
367
|
-
"missionary position",
|
|
368
|
-
"mong",
|
|
369
|
-
"motherfucker",
|
|
370
|
-
"mound of venus",
|
|
371
|
-
"mr hands",
|
|
372
|
-
"muff diver",
|
|
373
|
-
"muffdiving",
|
|
374
|
-
"nambla",
|
|
375
|
-
"nawashi",
|
|
376
|
-
"negro",
|
|
377
|
-
"neonazi",
|
|
378
|
-
"nigga",
|
|
379
|
-
"nigger",
|
|
380
|
-
"nig nog",
|
|
381
|
-
"nimphomania",
|
|
382
|
-
"nipple",
|
|
383
|
-
"nipples",
|
|
384
|
-
"nsfw",
|
|
385
|
-
'nsfw images',
|
|
386
|
-
"nude",
|
|
387
|
-
"nudity",
|
|
388
|
-
"nutten",
|
|
389
|
-
"nympho",
|
|
390
|
-
"nymphomania",
|
|
391
|
-
"octopussy",
|
|
392
|
-
"omorashi",
|
|
393
|
-
"one cup two girls",
|
|
394
|
-
'one guy one jar',
|
|
395
|
-
"orgasm",
|
|
396
|
-
"orgy",
|
|
397
|
-
'paedophile',
|
|
398
|
-
"paki",
|
|
399
|
-
"panties",
|
|
400
|
-
"panty",
|
|
401
|
-
"pedobear",
|
|
402
|
-
"pedophile",
|
|
403
|
-
'pegging',
|
|
404
|
-
'penis',
|
|
405
|
-
"phone sex",
|
|
406
|
-
'piece of shit',
|
|
407
|
-
"pikey",
|
|
408
|
-
"pissing",
|
|
409
|
-
"piss pig",
|
|
410
|
-
"pisspig",
|
|
411
|
-
"playboy",
|
|
412
|
-
"pleasure chest",
|
|
413
|
-
"pole smoker",
|
|
414
|
-
"ponyplay",
|
|
415
|
-
"poof",
|
|
416
|
-
"poon",
|
|
417
|
-
"poontang",
|
|
418
|
-
"punany",
|
|
419
|
-
"poop chute",
|
|
420
|
-
"poopchute",
|
|
421
|
-
"porn",
|
|
422
|
-
"porno",
|
|
423
|
-
"pornography",
|
|
424
|
-
"prince albert piercing",
|
|
425
|
-
"pthc",
|
|
426
|
-
"pubes",
|
|
427
|
-
"pussy",
|
|
428
|
-
"queaf",
|
|
429
|
-
"queef",
|
|
430
|
-
"quim",
|
|
431
|
-
"raghead",
|
|
432
|
-
"raging boner",
|
|
433
|
-
"rape",
|
|
434
|
-
"raping",
|
|
435
|
-
"rapist",
|
|
436
|
-
"rectum",
|
|
437
|
-
"reverse cowgirl",
|
|
438
|
-
"rimjob",
|
|
439
|
-
"rimming",
|
|
440
|
-
"rosy palm",
|
|
441
|
-
"rosy palm and her 5 sisters",
|
|
442
|
-
"rusty trombone",
|
|
443
|
-
"sadism",
|
|
444
|
-
"santorum",
|
|
445
|
-
"scat",
|
|
446
|
-
"schlong",
|
|
447
|
-
"scissoring",
|
|
448
|
-
"semen",
|
|
449
|
-
"sex",
|
|
450
|
-
"sexcam",
|
|
451
|
-
"sexo",
|
|
452
|
-
"sexy",
|
|
453
|
-
"sexual",
|
|
454
|
-
"sexually",
|
|
455
|
-
"sexuality",
|
|
456
|
-
"shaved beaver",
|
|
457
|
-
"shaved pussy",
|
|
458
|
-
"shemale",
|
|
459
|
-
"shibari",
|
|
460
|
-
"shit",
|
|
461
|
-
"shitblimp",
|
|
462
|
-
"shitty",
|
|
463
|
-
"shota",
|
|
464
|
-
"shrimping",
|
|
465
|
-
"skeet",
|
|
466
|
-
"slanteye",
|
|
467
|
-
"slut",
|
|
468
|
-
"s&m",
|
|
469
|
-
"smut",
|
|
470
|
-
"snatch",
|
|
471
|
-
"snowballing",
|
|
472
|
-
"sodomize",
|
|
473
|
-
"sodomy",
|
|
474
|
-
"spastic",
|
|
475
|
-
"spic",
|
|
476
|
-
"splooge",
|
|
477
|
-
"splooge moose",
|
|
478
|
-
"spooge",
|
|
479
|
-
"spread legs",
|
|
480
|
-
"spunk",
|
|
481
|
-
"strap on",
|
|
482
|
-
"strapon",
|
|
483
|
-
"strappado",
|
|
484
|
-
"strip club",
|
|
485
|
-
"style doggy",
|
|
486
|
-
"suck",
|
|
487
|
-
"sucks",
|
|
488
|
-
"suicide girls",
|
|
489
|
-
"sultry women",
|
|
490
|
-
"swastika",
|
|
491
|
-
"swinger",
|
|
492
|
-
"tainted love",
|
|
493
|
-
"taste my",
|
|
494
|
-
"tea bagging",
|
|
495
|
-
"threesome",
|
|
496
|
-
"throating",
|
|
497
|
-
"thumbzilla",
|
|
498
|
-
"tied up",
|
|
499
|
-
"tight white",
|
|
500
|
-
"tit",
|
|
501
|
-
"tits",
|
|
502
|
-
"titties",
|
|
503
|
-
"titty",
|
|
504
|
-
"topless",
|
|
505
|
-
"tosser",
|
|
506
|
-
"towelhead",
|
|
507
|
-
"tranny",
|
|
508
|
-
"tribadism",
|
|
509
|
-
"tub girl",
|
|
510
|
-
'tubgirl',
|
|
511
|
-
"tushy",
|
|
512
|
-
"twat",
|
|
513
|
-
"twink",
|
|
514
|
-
"twinkie",
|
|
515
|
-
"two girls one cup",
|
|
516
|
-
"undressing",
|
|
517
|
-
'upskirt',
|
|
518
|
-
"urethra play",
|
|
519
|
-
"urophilia",
|
|
520
|
-
"vagina",
|
|
521
|
-
"venus mound",
|
|
522
|
-
"viagra",
|
|
523
|
-
"vibrator",
|
|
524
|
-
"violet wand",
|
|
525
|
-
"vorarephilia",
|
|
526
|
-
"voyeur",
|
|
527
|
-
"voyeurweb",
|
|
528
|
-
"voyuer",
|
|
529
|
-
"vulva",
|
|
530
|
-
"wank",
|
|
531
|
-
"wetback",
|
|
532
|
-
"wet dream",
|
|
533
|
-
"white power",
|
|
534
|
-
"whore",
|
|
535
|
-
"worldsex",
|
|
536
|
-
"wrapping men",
|
|
537
|
-
"wrinkled starfish",
|
|
538
|
-
"xx",
|
|
539
|
-
"xxx",
|
|
540
|
-
"yaoi",
|
|
541
|
-
"yellow showers",
|
|
542
|
-
"yiffy",
|
|
543
|
-
"zoophilia",
|
|
544
|
-
"anal",
|
|
545
|
-
"arousal",
|
|
546
|
-
"balls",
|
|
547
|
-
"blowjob",
|
|
548
|
-
"busty",
|
|
549
|
-
"butt",
|
|
550
|
-
"cameltoe",
|
|
551
|
-
"climax",
|
|
552
|
-
"clitoris",
|
|
553
|
-
"cock",
|
|
554
|
-
"crotch",
|
|
555
|
-
"cum",
|
|
556
|
-
"cumshot",
|
|
557
|
-
"cunnilingus",
|
|
558
|
-
"dirty",
|
|
559
|
-
"dirtytalk",
|
|
560
|
-
"dildo",
|
|
561
|
-
"erect",
|
|
562
|
-
"erogenous",
|
|
563
|
-
"escort",
|
|
564
|
-
"explicit",
|
|
565
|
-
"facial",
|
|
566
|
-
"fetish",
|
|
567
|
-
"flirt",
|
|
568
|
-
"foreplay",
|
|
569
|
-
"genitals",
|
|
570
|
-
"groin",
|
|
571
|
-
"hardcore",
|
|
572
|
-
"hardon",
|
|
573
|
-
"horniness",
|
|
574
|
-
"horny",
|
|
575
|
-
"kamasutra",
|
|
576
|
-
"kinky",
|
|
577
|
-
"lewd",
|
|
578
|
-
"lingerie",
|
|
579
|
-
"lust",
|
|
580
|
-
"lustful",
|
|
581
|
-
"masturbate",
|
|
582
|
-
"mature",
|
|
583
|
-
"milf",
|
|
584
|
-
"naughty",
|
|
585
|
-
"naked",
|
|
586
|
-
"nipples",
|
|
587
|
-
"nude",
|
|
588
|
-
"obscene",
|
|
589
|
-
"oral",
|
|
590
|
-
"orgasm",
|
|
591
|
-
"penetration",
|
|
592
|
-
"penis",
|
|
593
|
-
"pleasure",
|
|
594
|
-
"porn",
|
|
595
|
-
"prostitute",
|
|
596
|
-
"provocative",
|
|
597
|
-
"pubic",
|
|
598
|
-
"pussy",
|
|
599
|
-
"seduce",
|
|
600
|
-
"seductive",
|
|
601
|
-
"sensual",
|
|
602
|
-
"sex",
|
|
603
|
-
"sexual",
|
|
604
|
-
"sperm",
|
|
605
|
-
"strip",
|
|
606
|
-
"striptease",
|
|
607
|
-
"swinger",
|
|
608
|
-
"testicles",
|
|
609
|
-
"thong",
|
|
610
|
-
"threesome",
|
|
611
|
-
"undies",
|
|
612
|
-
"undress",
|
|
613
|
-
"vagina",
|
|
614
|
-
"vibrator",
|
|
615
|
-
"wank",
|
|
616
|
-
"wet",
|
|
617
|
-
"hentai",
|
|
618
|
-
"bdsm",
|
|
619
|
-
"gay",
|
|
620
|
-
"lesbian",
|
|
621
|
-
"femboy",
|
|
622
|
-
"ass",
|
|
623
|
-
];
|
|
633
|
+
if (textToCheck && nsfwWords.some(word => textToCheck.includes(word))) {
|
|
634
|
+
return message.reply("Warning ⚠️. Your prompt contains **`NSFW/Illegal/Prohibited`** words. Please refrain from doing this.");
|
|
635
|
+
}
|
|
624
636
|
if (nsfwKeyWords.length > 0) {
|
|
625
|
-
if (textToCheck && nsfwKeyWords.some(word => textToCheck
|
|
637
|
+
if (textToCheck && nsfwKeyWords.some(word => textToCheck.includes(word))) {
|
|
626
638
|
return message.reply("Warning ⚠️. The generated image contatining nsfw content. Turn off nsfw to send nsfw images.");
|
|
627
639
|
}
|
|
628
640
|
}
|
|
629
|
-
if (deepCheck) {
|
|
630
|
-
if (translatedText.text && nsfwWords.some(word => { var _a; return (_a = translatedText.text) === null || _a === void 0 ? void 0 : _a.includes(word); })) {
|
|
631
|
-
return message.reply("Warning ⚠️. Your prompt contains **`NSFW/Illegal/Prohibited`** words. Please refrain from doing this.");
|
|
632
|
-
}
|
|
633
|
-
if (translatedText.text && nsfwKeyWords.some(word => { var _a; return (_a = translatedText.text) === null || _a === void 0 ? void 0 : _a.includes(word); })) {
|
|
634
|
-
return message.reply("Warning ⚠️. Your prompt contains **`NSFW/Illegal/Prohibited`** words. Please refrain from doing this.");
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
if (textToCheck && nsfwWords.some(word => textToCheck === null || textToCheck === void 0 ? void 0 : textToCheck.includes(word))) {
|
|
638
|
-
return message.reply("Warning ⚠️. The generated image contatining nsfw content. Turn off nsfw to send nsfw images.");
|
|
639
|
-
}
|
|
640
641
|
}
|
|
641
642
|
const attach = new discord_js_1.AttachmentBuilder(imageUrl, { name: `image_${_0x4d7fb6 + 1}.png` });
|
|
642
643
|
attachData.push(attach);
|
|
@@ -677,7 +678,7 @@ async function aiImagine(message, numOfImages, textToDraw, hercai, imageModel, n
|
|
|
677
678
|
if (enhancer && enhancer.enhanceModal) {
|
|
678
679
|
for (const imageUrl of imageUrls) {
|
|
679
680
|
try {
|
|
680
|
-
if (!((_g =
|
|
681
|
+
if (!((_g = imageType.validEnhancers) === null || _g === void 0 ? void 0 : _g.includes(enhancer.enhanceModal))) {
|
|
681
682
|
return await message.reply({ content: `Invalid enhancer modal (~~${enhancer.enhanceModal}~~). Please check documentation online at apexifyjs.jedi-studio.com.` });
|
|
682
683
|
}
|
|
683
684
|
const generateResponse = await sdk.upscale({
|