From deb5f90654c240a2ceeace593580b399ab8b41da Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 2 Oct 2022 12:57:47 -0700 Subject: [PATCH] fix bot error message --- structures/LinesPoliceCadBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/LinesPoliceCadBot.js b/structures/LinesPoliceCadBot.js index adef1dd..094948d 100644 --- a/structures/LinesPoliceCadBot.js +++ b/structures/LinesPoliceCadBot.js @@ -160,7 +160,7 @@ class LinesPoliceCadBot extends Client { .setColor(this.config.EmbedColor) .setDescription(Error); - Channel.send(embed); + Channel.send({ embeds: [embed] }); } RegisterSlashCommands() {