From f8b9afb4ab2de379e8902ddaf88f03fc11f3dd41 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 10 Nov 2024 12:35:52 -0500 Subject: [PATCH] Big dum dum --- commands/search/anime-character.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/search/anime-character.js b/commands/search/anime-character.js index d77aa9da..ebe3a0d8 100644 --- a/commands/search/anime-character.js +++ b/commands/search/anime-character.js @@ -91,6 +91,7 @@ module.exports = class AnimeCharacterCommand extends Command { async search(query) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { search: query }, query: searchGraphQL @@ -102,9 +103,10 @@ module.exports = class AnimeCharacterCommand extends Command { async fetchCharacter(id) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { id }, - query: resultGraphQL + query: resultGraphQL, }); return body.data.Character; }