Fix embeds

This commit is contained in:
Dragon Fire
2024-03-21 18:20:36 -04:00
parent 3cfe4a5266
commit 2f5906ba0a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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));