From 645ad63f4f35d733c052a39e4149e51512f25d12 Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 6 Apr 2020 18:14:23 -0400 Subject: [PATCH] Changed all RichEmbed to MessageEmbed. This is order to add discord.js v12 support. --- commands/links.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/links.js b/commands/links.js index a519947..f8c8d9d 100644 --- a/commands/links.js +++ b/commands/links.js @@ -22,7 +22,7 @@ exports.run = ( bot, message, args ) => { links += `[${name}](${botLinks[ name ]})\n`; }; - let embed = new Discord.RichEmbed() + let embed = new Discord.MessageEmbed() .setTitle(supportbot.LINKS_TITLE) .setDescription(links) .setColor(supportbot.EmbedColour) @@ -33,4 +33,4 @@ exports.run = ( bot, message, args ) => { exports.help = { name: supportbot.Link_Command, -}; \ No newline at end of file +};