summary refs log tree commit diff
path: root/oldindex.js
diff options
context:
space:
mode:
Diffstat (limited to 'oldindex.js')
-rw-r--r--oldindex.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/oldindex.js b/oldindex.js
index 105b1dc..8acaa19 100644
--- a/oldindex.js
+++ b/oldindex.js
@@ -3,9 +3,11 @@ import { getRandomInt } from "./lib.js";
 import { profanity } from "@2toad/profanity";
 import { commands } from "./commands.ts";
 import * as accounts from "./accounts.ts";
-import cuid from "cuid";
+import cuid2 from "@paralleldrive/cuid2";
 import fs from "fs";
 
+const cuid = cuid2.init()
+
 const server = {
     config: JSON.parse(String(fs.readFileSync("config.json"))),
     channels: ["home", "off-topic", "randomness"],