mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user