diff --git a/ClicksMigratingProblems/randomPunishments.js b/ClicksMigratingProblems/randomPunishments.js
index c9162e3..4ea01d2 100644
--- a/ClicksMigratingProblems/randomPunishments.js
+++ b/ClicksMigratingProblems/randomPunishments.js
@@ -7,20 +7,53 @@
 
 for (let i = 0; i < 100; i++) {
     // Select a type
-    let type = ["join", "unban", "leave", "ban", "softban", "kick", "mute", "purge", "warn", "nickname"][Math.floor(Math.random() * 9)];
+    let type = [
+        "join",
+        "unban",
+        "leave",
+        "ban",
+        "softban",
+        "kick",
+        "mute",
+        "purge",
+        "warn",
+        "nickname"
+    ][Math.floor(Math.random() * 9)];
     // Select a random date in the last year
-    let date = new Date(new Date().getTime() - Math.floor(Math.random() * 31536000000));
+    let date = new Date(
+        new Date().getTime() - Math.floor(Math.random() * 31536000000)
+    );
     // Add to database
     await collection.insertOne({
         type: type,
         occurredAt: date,
         user: "438733159748599813",
         guild: "864185037078790195",
-        moderator: (["unban", "ban", "softban", "kick", "mute", "purge", "warn"].includes(type)) ? "438733159748599813" : null,
-        reason: (["unban", "ban", "softban", "kick", "mute", "purge", "warn"].includes(type)) ? "Test" : null,
-        before: (type === "nickname") ? "TestBefore" : null,
-        after: (type === "nickname") ? "TestAfter" : null,
-        amount: (type === "purge") ? Math.floor(Math.random() * 100) : null
+        moderator: [
+            "unban",
+            "ban",
+            "softban",
+            "kick",
+            "mute",
+            "purge",
+            "warn"
+        ].includes(type)
+            ? "438733159748599813"
+            : null,
+        reason: [
+            "unban",
+            "ban",
+            "softban",
+            "kick",
+            "mute",
+            "purge",
+            "warn"
+        ].includes(type)
+            ? "Test"
+            : null,
+        before: type === "nickname" ? "TestBefore" : null,
+        after: type === "nickname" ? "TestAfter" : null,
+        amount: type === "purge" ? Math.floor(Math.random() * 100) : null
     });
     console.log("Inserted document " + i);
 }
