summary refs log tree commit diff
path: root/oldindex.js
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-11-30 11:28:45 +0200
committerWlodekM <[email protected]>2024-11-30 11:28:45 +0200
commit7bf34fb819f12e551ee8e50dcfd7e0369a68eb8e (patch)
tree2810ee013a8c517571118831b90e22ab5506a797 /oldindex.js
parent3c11cf90f69a69be79dd5adc63c2c8d2de42741d (diff)
parent9d553a0e20011fbcf19ecada6541009e766943d9 (diff)
Merge branch 'dev' into ts-deno-rewrite
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"],