diff --git a/commands/games-sp/anime-score.js b/commands/games-sp/anime-score.js index f66e3e52..45d9c1c9 100644 --- a/commands/games-sp/anime-score.js +++ b/commands/games-sp/anime-score.js @@ -19,10 +19,21 @@ const searchGraphQL = stripIndents` large medium } + startDate { year } + format } } } `; +const formats = { + TV: 'TV', + TV_SHORT: 'TV Short', + MOVIE: 'Movie', + SPECIAL: 'Special', + OVA: 'OVA', + ONA: 'ONA', + MUSIC: 'Music' +}; module.exports = class AnimeScoreCommand extends Command { constructor(client) { @@ -52,6 +63,7 @@ module.exports = class AnimeScoreCommand extends Command { .setAuthor('AniList', 'https://i.imgur.com/iUIRC7v.png', 'https://anilist.co/') .setImage(anime.coverImage.large || anime.coverImage.medium || null) .setTitle(anime.title.english || anime.title.romaji) + .setDescription(`_${anime.startDate.year}, ${formats[anime.format]}_`) .setFooter(anime.id); await msg.reply('**You have 15 seconds, what score do you think this anime has?**', { embed }); const filter = res => { diff --git a/commands/search/anime.js b/commands/search/anime.js index 8901cfee..40b98f08 100644 --- a/commands/search/anime.js +++ b/commands/search/anime.js @@ -35,6 +35,7 @@ const resultGraphQL = stripIndents` description(asHtml: false) season type + format siteUrl status episodes