Development (#112)

Co-authored-by: Samuel Shuert <samuel.shuert@gmail.com>
diff --git a/src/commands/mod/warn.ts b/src/commands/mod/warn.ts
index 7790fa8..020a962 100644
--- a/src/commands/mod/warn.ts
+++ b/src/commands/mod/warn.ts
@@ -84,8 +84,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");
@@ -100,7 +101,7 @@
                         .setTitle("Warned")
                         .setDescription(
                             `You have been warned in ${interaction.guild.name}` +
-                                (reason ? ` for:\n${reason}` : ".\n*No reason was provided*") +
+                                (formattedReason ? ` for:\n${formattedReason}` : ".\n*No reason was provided*") +
                                 "\n\n" +
                                 (createAppealTicket
                                     ? `You can appeal this in the ticket created in <#${