This commit is contained in:
Daniel Odendahl Jr
2017-08-18 19:06:11 +00:00
parent c488bbf6c8
commit b8a3877863
9 changed files with 20 additions and 11 deletions
+1
View File
@@ -35,6 +35,7 @@ module.exports = class MathGameCommand extends Command {
const answer = math.eval(expression).toString();
const embed = new MessageEmbed()
.setTitle('You have 10 seconds to answer:')
.setColor(0x9797FF)
.setDescription(expression);
await msg.embed(embed);
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {