Changed all RichEmbed to MessageEmbed.

This is order to add discord.js v12 support.
This commit is contained in:
Two authored and GitHub committed 2020-04-06 18:14:23 -04:00
1 parent 0bd990a9e3
commit 645ad63f4f
1 file changed
+2 -2
+2 -2
View File
@@ -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,
};
};