From c83c6afeccf84fb32cee7747ae83eebb816ead27 Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 6 Apr 2020 18:14:18 -0400 Subject: [PATCH] Changed all RichEmbed to MessageEmbed. This is order to add discord.js v12 support. --- commands/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/help.js b/commands/help.js index 6d24fd5..9a48058 100644 --- a/commands/help.js +++ b/commands/help.js @@ -35,7 +35,7 @@ exports.run = (bot, message, args) => { staffCommands += `**${supportbot.Prefix}${supportbot.UnLockchat_Command}**: UnLock the chat channel\n`; staffCommands += `**${supportbot.Prefix}${supportbot.Poll_Command}**: Create a poll\n`; - const embed = new Discord.RichEmbed() + const embed = new Discord.MessageEmbed() .setTitle(supportbot.Bot_Name) .addField("👨 User Commands", userCommands) .addField(":pushpin: Support Commands", supportCommands)