BREAKING: changed all ids to "opendiscord:"

This commit is contained in:
DJj123dj
2025-02-01 10:29:35 +01:00
parent 29f8e1452c
commit 6acbf74846
101 changed files with 3736 additions and 3739 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import {opendiscord, api, utilities} from "../../index"
export const loadAllBlacklistedUsers = async () => {
const userDatabase = opendiscord.databases.get("openticket:users")
const userDatabase = opendiscord.databases.get("opendiscord:users")
if (!userDatabase) return
const users = await userDatabase.getCategory("openticket:blacklist") ?? []
const users = await userDatabase.getCategory("opendiscord:blacklist") ?? []
users.forEach((user) => {
if (typeof user.value == "string" || user.value === null) opendiscord.blacklist.add(new api.ODBlacklist(user.key,user.value))
})