Update ready.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2021-03-11 18:55:33 +00:00
1 parent faa53b0af1
commit 448d8f3007
1 file changed
+10 -2
+10 -2
View File
@@ -31,9 +31,17 @@ module.exports = async (bot) => {
chan1.messages.fetch(tickets.ReactionMessage_ID).catch(r => {
let embed = new Discord.MessageEmbed()
.setTitle(supportbot.ReactionMessage.replace(/%reaction_emoji%/g, supportbot.ReactionEmoji))
.setColor(supportbot.EmbedColour)
.setColor(supportbot.SuccessColour)
.setFooter(supportbot.EmbedFooter);
if (supportbot.ReactionPanel_Description = true) {
embed.setDescription(supportbot.ReactionDescription)
}
if (supportbot.ReactionPanel_Thumbnail = true) {
embed.setThumbnail(supportbot.ReactionThumbnail)
}
bot.channels.cache.find(channel => channel.name === supportbot.ReactionChannel).send({
embed: embed
}).then(r => {