Bug fixes for new database system

This commit is contained in:
DJj123dj
2024-11-25 19:24:48 +01:00
parent b22f7b2de7
commit 3e928ed06e
11 changed files with 161 additions and 180 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export const registerCommandResponders = async () => {
//add panel to database on auto-update
if (instance.options.getBoolean("auto-update",false)){
const globalDatabase = openticket.databases.get("openticket:global")
globalDatabase.set("openticket:panel-update",panelMessage.channel.id+"_"+panelMessage.id,panel.id.value)
await globalDatabase.set("openticket:panel-update",panelMessage.channel.id+"_"+panelMessage.id,panel.id.value)
}
}),
new api.ODWorker("openticket:logs",-1,(instance,params,source,cancel) => {