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 24a1ddd commit 35a8973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slashCommands/moderation/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
const deletedMessages = await channel.bulkDelete(messagesToDelete, true);
totalDeleted += deletedMessages.size;
} catch (error) {
logger.info(`Error deleting messages: ${error}`, { label: "ERROR" });
return interaction.editReply({ content: "There was an error trying to delete messages in this channel.", ephemeral: true });
}
}

Expand Down

0 comments on commit 35a8973

Please sign in to comment.