This commit is contained in:
DJj123dj
2023-08-30 17:22:26 +02:00
parent 589bbe5cd5
commit 5f19adf561
32 changed files with 91 additions and 60 deletions
+5
View File
@@ -58,6 +58,11 @@ exports.invalidIdChooseFromList = (list,message) => {
return x
}
exports.failedRenameChannel = new embed()
.setColor(c.Red)
.setTitle(":x: Failed to rename channel")
.setDescription("Discord channels can only be renamed twice every 10 minutes! Open Ticket can't do anything about this error!")
exports.notInATicket = new embed()
.setColor(c.Red)
.setTitle(":x: "+l.errors.notInTicketTitle)
+1 -1
View File
@@ -10,7 +10,7 @@ const storage = require("../../index").storage
exports.readHiddenData = (channelid) => {
const content = storage.get("HIDDENDATA",channelid)
if (!content) return {type:"",data:[],status:false}
if (!content) return []
try {
return JSON.parse(content)
+1 -1
View File
@@ -189,7 +189,7 @@ exports.liveStatusUploadManager = async (err) => {
//system:config.system
},
language:config.languageFile,
version:"3.4.2",
version:"3.4.3",
slashcmds:slashMode,
transcripts:transcriptMode,
plugins:fs.readdirSync("./plugins"),