Minor Bugfixes

This commit is contained in:
DJj123dj
2026-05-06 20:45:10 +02:00
parent 65334a8a25
commit 5763659900
5 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -174,7 +174,7 @@
"helpExplanation":"`<name>` => required parameter\n`[name]` => optional parameter",
"statsReset":"The bot statistics have been reset.",
"statsError":"nable to retrieve ticket statistics.\n{0} is not a valid ticket.",
"statsError":"Unable to retrieve ticket statistics.\n{0} is not a valid ticket.",
"blacklistAdd":"{0} has been blacklisted.",
"blacklistRemove":"{0} has been released.",
"blacklistGetSuccess":"{0} is blacklisted!",
+1 -1
View File
@@ -174,7 +174,7 @@
"helpExplanation":"`<name>` => required parameter\n`[name]` => optional parameter",
"statsReset":"The bot statistics have been reset.",
"statsError":"nable to retrieve ticket statistics.\n{0} is not a valid ticket.",
"statsError":"Unable to retrieve ticket statistics.\n{0} is not a valid ticket.",
"blacklistAdd":"{0} has been blacklisted.",
"blacklistRemove":"{0} has been released.",
"blacklistGetSuccess":"{0} is blacklisted!",
+1
View File
@@ -111,6 +111,7 @@ export class ODOpenTicketMain extends api.ODMain {
//OPEN TICKET
this.fuses = new api.ODFuseManager<api.ODOpenTicketFuseList>({
priorityLoading:true,
questionLoading:true,
optionLoading:true,
panelLoading:true,
+2
View File
@@ -4,6 +4,8 @@
import * as api from "@open-discord-bots/framework/api"
export interface ODOpenTicketFuseList {
/**Load the default Open Ticket ticket priority levels. */
priorityLoading:boolean,
/**Load the default Open Ticket questions (from `config/questions.json`) */
questionLoading:boolean,
/**Load the default Open Ticket options (from `config/options.json`) */
+1 -1
View File
@@ -415,7 +415,7 @@ const main = async () => {
//load priority levels
opendiscord.log("Loading prioritiy levels...","system")
if (opendiscord.sharedFuses.getFuse("priorityLoading")){
if (opendiscord.fuses.getFuse("priorityLoading")){
await (await import("./data/openticket/priorityLoader.js")).loadAllPriorityLevels()
}
await opendiscord.events.get("onPriorityLoad").emit([opendiscord.priorities])