From 64f7b8f3dd4bb029d2963d524c3f0b5ed75cb2f2 Mon Sep 17 00:00:00 2001 From: eYuM-coder Date: Sun, 13 Oct 2024 11:14:56 -0600 Subject: [PATCH] a --- src/slashCommands/moderation/clear.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slashCommands/moderation/clear.js b/src/slashCommands/moderation/clear.js index e6597d4..1967392 100644 --- a/src/slashCommands/moderation/clear.js +++ b/src/slashCommands/moderation/clear.js @@ -27,7 +27,7 @@ module.exports = { const amount = parseInt(interaction.options.getString("amount")); const channel = interaction.channel; - const reason = interaction.options.getString("reason"); + let reason = interaction.options.getString("reason"); if (!reason) { reason = "No reason provided."; }