Development (#112)

Co-authored-by: Samuel Shuert <samuel.shuert@gmail.com>
diff --git a/src/commands/mod/softban.ts b/src/commands/mod/softban.ts
index 984bb6b..19605c7 100644
--- a/src/commands/mod/softban.ts
+++ b/src/commands/mod/softban.ts
@@ -81,8 +81,9 @@
     const config = await client.database.guilds.read(interaction.guild.id);
     try {
         if (notify) {
+            let formattedReason: string | null = null;
             if (reason) {
-                reason = reason
+                formattedReason = reason
                     .split("\n")
                     .map((line) => "> " + line)
                     .join("\n");
@@ -97,7 +98,7 @@
                         .setTitle("Softban")
                         .setDescription(
                             `You have been softbanned from ${interaction.guild.name}` +
-                                (reason ? ` for:\n${reason}` : ".\n*No reason was provided.*")
+                                (formattedReason ? ` for:\n${formattedReason}` : ".\n*No reason was provided.*")
                         )
                         .setStatus("Danger")
                 ],