This commit is contained in:
Dragon Fire
2021-04-30 21:50:50 -04:00
parent 467b4ac142
commit be49fb493f
+2 -1
View File
@@ -46,11 +46,12 @@ module.exports = class AnimeScoreCommand extends Command {
async run(msg) {
try {
const anime = await this.getRandomAnime(msg.channel.nsfw);
const title = anime.title.english || anime.title.romaji;
const embed = new MessageEmbed()
.setColor(0x02A9FF)
.setAuthor('AniList', 'https://i.imgur.com/iUIRC7v.png', 'https://anilist.co/')
.setThumbnail(anime.coverImage.large || anime.coverImage.medium || null)
.setTitle(anime.title.english || anime.title.romaji)
.setTitle(title)
.setFooter(anime.id);
await msg.reply('**You have 15 seconds, what score do you think this anime has?**', { embed });
const filter = res => {