1 files changed, 0 insertions, 12 deletions
diff --git a/src/util/RandomInviteID.ts b/src/util/RandomInviteID.ts
deleted file mode 100644
index b37994d8..00000000
--- a/src/util/RandomInviteID.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export function random(length = 6) {
- // Declare all characters
- let chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
-
- // Pick characers randomly
- let str = "";
- for (let i = 0; i < length; i++) {
- str += chars.charAt(Math.floor(Math.random() * chars.length));
- }
-
- return str;
-}
|