fix/event-expire-embed

This commit is contained in:
SowinskiBraeden committed 2023-07-30 15:19:01 -07:00
1 parent 65b28c4940
commit 1cf1638c6d
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ module.exports = {
ExpireEvent: async(client, guild, e) => {
let hasMR = (guild.memberRole != "");
const channel = client.channels.cache.get(e.channel);
if (client.exists(e.channel)) channel.send({ embeds: [new EmbedBuilder().setColor(client.colors.Default).setDescription(`${hasMR ? `<@&${guild.memberRole}>\n`:''}**The ${e.name} Event has ended!**`)] });
if (client.exists(e.channel)) channel.send({ embeds: [new EmbedBuilder().setColor(client.config.colors.Default).setDescription(`${hasMR ? `<@&${guild.memberRole}>\n`:''}**The ${e.name} Event has ended!**`)] });
client.dbo.collection("guilds").updateOne({ "server.serverID": guild.serverID }, {
$pull: {