mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Changes
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user