From 0bb8c3499cb509ae75b82bccb940e2dfb2782258 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 10 Nov 2024 13:11:10 -0500 Subject: [PATCH] Update manga.js --- commands/search/manga.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/search/manga.js b/commands/search/manga.js index f678ae62..7fa1944b 100644 --- a/commands/search/manga.js +++ b/commands/search/manga.js @@ -132,6 +132,7 @@ module.exports = class MangaCommand extends Command { async search(query) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { search: query, @@ -146,6 +147,7 @@ module.exports = class MangaCommand extends Command { async fetchManga(id) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { id, @@ -170,6 +172,7 @@ module.exports = class MangaCommand extends Command { if (this.personalList) return this.personalList; const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { name: ANILIST_USERNAME,