Skip to content

Commit

Permalink
Update: Some small little changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Wood committed Oct 8, 2024
1 parent 2790815 commit 4cc12e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/moderation/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module.exports = class extends Command {
logger.info(`Error deleting messages: ${error}`, { label: "ERROR" });
return message.channel.send({ content: "There was an error trying to delete messages in this channel." });
}
setTimeout(() => { }, 10000);
}

const embed = new MessageEmbed()
Expand All @@ -88,7 +89,7 @@ module.exports = class extends Command {
.setColor(message.guild.me.displayHexColor);

message.channel
.sendCustom({ embeds: [embed] })
.send({ embeds: [embed] })
.then(async (s) => {
if (logging && logging.moderation.delete_reply === "true") {
setTimeout(() => {
Expand Down

0 comments on commit 4cc12e7

Please sign in to comment.