aboutsummaryrefslogtreecommitdiff
path: root/commands/eval.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-07-31 16:38:15 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-07-31 16:38:15 -0400
commit60cd96e366487b9a422ecc685b46a2b300c32be1 (patch)
tree6e71adf12473ca438f10d7716a27a3f0ffc44c3d /commands/eval.js
parent3aa27777a7bd1a9bff798412382db8aad3cbd19a (diff)
downloadAleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.gz
AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.bz2
AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.zip
Cleanup; Upgraded to Discord.JS v13; More buttons
Diffstat (limited to 'commands/eval.js')
-rw-r--r--commands/eval.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/eval.js b/commands/eval.js
index 9ace7bf..b414225 100644
--- a/commands/eval.js
+++ b/commands/eval.js
@@ -47,7 +47,7 @@ module.exports.run = async (client, message, args) => {
.addField(':outbox_tray: Output:', `\`\`\`${err}\`\`\``)
.setFooter('Eval', client.user.avatarURL())
.setColor('RED');
- return message.channel.send({embed});
+ return message.channel.send({embeds: [embed]});
}
try {
@@ -59,7 +59,7 @@ module.exports.run = async (client, message, args) => {
.setFooter('Eval', client.user.avatarURL())
.setColor('GREEN');
- return message.channel.send({embed});
+ return message.channel.send({embeds: [embed]});
} catch (err) {
const embed = new MessageEmbed()
.setAuthor('Eval Error')
@@ -68,7 +68,7 @@ module.exports.run = async (client, message, args) => {
.addField(':outbox_tray: Output:', `\`\`\`${err}\`\`\``)
.setFooter('Eval', client.user.avatarURL())
.setColor('RED');
- return message.channel.send({embed});
+ return message.channel.send({embeds: [embed]});
}
};