diff --git a/commands/search/anime-staff.js b/commands/search/anime-staff.js index 87c38281..c1eda390 100644 --- a/commands/search/anime-staff.js +++ b/commands/search/anime-staff.js @@ -117,6 +117,7 @@ module.exports = class AnimeStaffCommand 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 @@ -128,6 +129,7 @@ module.exports = class AnimeStaffCommand extends Command { async fetchStaff(id) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { id }, query: resultGraphQL