This commit is contained in:
Dragon Fire
2021-08-02 19:53:28 -04:00
parent 1e51b2442f
commit 3192f2aa90
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = class GoogleFeudCommand extends Command {
return msg.say(`You win! Nice job, master of Google!\n**Final Score: $${formatNumber(score)}**`);
}
const final = this.makeEmbed(question, tries, suggestions, suggestions);
return msg.say(`Better luck next time!\n**Final Score: $${formatNumber(score)}**`, { embed: final });
return msg.say(`Better luck next time!\n**Final Score: $${formatNumber(score)}**`, { embeds: [final] });
} catch (err) {
this.client.games.delete(msg.channel.id);
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
+1 -1
View File
@@ -51,7 +51,7 @@ module.exports = class PlayCommand extends Command {
if (!canPlay) return msg.reply('I cannot play this video.');
if (canPlay === 'length') return msg.reply('This video is longer than 15 minutes, so I can\'t play it.');
await msg.reply('Is this the video you want to play? Type **[y]es** or **[n]o**.', {
embed: this.generateEmbed(data)
embeds: [this.generateEmbed(data)]
});
const verification = await verify(msg.channel, msg.author);
if (!verification) return msg.reply('Aborting playback.');