mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix embeds
This commit is contained in:
@@ -65,7 +65,7 @@ module.exports = class AnimeScoreCommand extends Command {
|
||||
.setTitle(anime.title.english || anime.title.romaji)
|
||||
.setDescription(`_${anime.startDate.year}, ${formats[anime.format]}_`)
|
||||
.setFooter(anime.id.toString());
|
||||
await msg.reply('**You have 15 seconds, what score do you think this anime has?**', { embed });
|
||||
await msg.reply('**You have 15 seconds, what score do you think this anime has?**', { embeds: [embed] });
|
||||
const filter = res => {
|
||||
if (res.author.id !== msg.author.id) return false;
|
||||
return Boolean(Number.parseInt(res.content, 10));
|
||||
|
||||
Reference in New Issue
Block a user