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:18 -04:00
1 parent 0bd990a9e3
commit c83c6afecc
1 file changed
+1 -1
+1 -1
View File
@@ -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)