Fix some more eslint & ts errors
diff --git a/src/premium/attachmentLogs.ts b/src/premium/attachmentLogs.ts
index 679627d..899cd25 100644
--- a/src/premium/attachmentLogs.ts
+++ b/src/premium/attachmentLogs.ts
@@ -22,7 +22,7 @@
             size: attachment.size
         });
     }
-    const links = message.content.match(/https?:\/\/\S+/gi) || [];
+    const links = message.content.match(/https?:\/\/\S+/gi) ?? [];
     for (const link of links) {
         if (
             link