ok
Browse files- plugins/hentai.js +2 -1
plugins/hentai.js
CHANGED
@@ -24,7 +24,8 @@ const HentaiRoutes = express.Router();
|
|
24 |
*/
|
25 |
HentaiRoutes.get('/api/v1/anime/random', authenticateApiKey, apiLimiter, async (req, res) => {
|
26 |
try {
|
27 |
-
const
|
|
|
28 |
if (result) {
|
29 |
res.json({ result });
|
30 |
} else {
|
|
|
24 |
*/
|
25 |
HentaiRoutes.get('/api/v1/anime/random', authenticateApiKey, apiLimiter, async (req, res) => {
|
26 |
try {
|
27 |
+
const responses = new SendWaifuRandom();
|
28 |
+
const result = await responses.sendWaifuPics();
|
29 |
if (result) {
|
30 |
res.json({ result });
|
31 |
} else {
|