From 5675835c98f223f89183cbcd1621cd3a0262ca12 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 10 Nov 2024 13:12:22 -0500 Subject: [PATCH] Update anime-score.js --- commands/games-sp/anime-score.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/games-sp/anime-score.js b/commands/games-sp/anime-score.js index 00a68b60..6160cb34 100644 --- a/commands/games-sp/anime-score.js +++ b/commands/games-sp/anime-score.js @@ -96,6 +96,7 @@ module.exports = class AnimeScoreCommand extends Command { const selectedAnime = Math.floor(Math.random() * this.totalAnime); const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { page: Math.ceil(selectedAnime / 50), @@ -116,6 +117,7 @@ module.exports = class AnimeScoreCommand extends Command { if (this.totalAnime) return this.totalAnime; const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { page: 0,