From fdcb897e42d869973da36f652dab28e16f0a3311 Mon Sep 17 00:00:00 2001 From: SileNce5k <ozzynexus@gmail.com> Date: Thu, 7 Dec 2023 13:50:58 +0100 Subject: [PATCH] Fix embeds for help command --- commands/info/help.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/info/help.js b/commands/info/help.js index 4b46159..c3529da 100644 --- a/commands/info/help.js +++ b/commands/info/help.js @@ -1,5 +1,5 @@ const fs = require('fs'); -const Discord = require('discord.js'); +const {EmbedBuilder} = require('discord.js'); const getSubdirFiles = require('../../util/getSubdirFiles'); @@ -26,7 +26,7 @@ module.exports = { } if (x) return; - const embed = new Discord.MessageEmbed() + const embed = new EmbedBuilder() .setColor(15780145) .setTitle("Commands") .setTimestamp()