diff --git a/.github/SECURITY.md b/.github/SECURITY.md
index dc4c19b..9f12cce 100644
--- a/.github/SECURITY.md
+++ b/.github/SECURITY.md
@@ -1,20 +1,19 @@
# Security Policy
## Supported Versions
+Below, you can find a list with the status of every open ticket version. This list will change every update!
-We only support Open Ticket versions listed below! With support, we mean bugs, errors & helping you further!
+- ✅ Supported **(bugs, errors, discord support, documentation, html transcripts)**
+- 🟧 Deprecated / Partially Supported **(discord support, documentation, html transcripts)**
+- ❌ Fully Deprecated / Not Supported **(sometimes documentation)**
-✅ Supported
-🟧 Partially Supported
-❌ Not Supported
-
-| Version | Supported |
-|-----------|-------------------|
-| 3.5.2 | ✅ |
-| 3.5.1 | ✅ |
-| 3.5.0 | ✅ |
-| 3.4.4 | 🟧 |
-| < 3.4.4 | ❌ |
+| Version | Supported | Until |
+|-----------|-----------|-----------------------------|
+| 3.5.3 | ✅ | |
+| 3.5.2 | ✅ | April 2024 |
+| 3.5.1 | 🟧 | Next Update |
+| 3.5.0 | 🟧 | Next Update |
+| < 3.5.0 | ❌ | |
## Reporting a Vulnerability
diff --git a/README.md b/README.md
index d34ee65..acc048e 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ There will be massive improvements for more stability & features! But the best p
-[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.2) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
+[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.3) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
### Open Ticket
Open Ticket is the most customisable discord ticket bot that you will ever find! There are more than 150 options to customise in the config! This includes html transcripts, unlimited amount of tickets, custom embeds & more! Did you know that even the html transcripts are highly customisable? Don't wait and check it out! If you're having trouble setting the bot up, feel free to join our support server and we will help you further!
@@ -78,7 +78,7 @@ Take a look at all the features and discover the possibilities!
|Indonesian |erxg |🟢 Up To Date |
## links
-current version: _v3.5.2_
+current version: _v3.5.3_
changelog: [click here](https://otgithub.dj-dj.be/releases)
documentation: [click here](https://docs.openticket.dj-dj.be/quick-start)
diff --git a/config.json b/config.json
index 838b126..4a2e3b6 100644
--- a/config.json
+++ b/config.json
@@ -111,7 +111,7 @@
"dropdown":false,
"enableFooter":false,
- "footer":"Open Ticket v3.5.2 - I'm a footer!",
+ "footer":"Open Ticket v3.5.3 - I'm a footer!",
"enableFooterImage":false,
"footerImage":"https://www.example.com/catmemes/cat.png",
diff --git a/core/utils/getDropdown.js b/core/utils/getDropdown.js
index 626eac0..67085cc 100644
--- a/core/utils/getDropdown.js
+++ b/core/utils/getDropdown.js
@@ -43,7 +43,7 @@ exports.getDropdown = (ids,placeholder) => {
}else{
if (option.label) selectComponent.setLabel(option.label)
if (option.icon) selectComponent.setEmoji(option.icon)
- if (option.description) selectComponent.setDescription(option.description)
+ if (option.description && option.description.length < 100) selectComponent.setDescription(option.description)
}
dropdown.addOptions(selectComponent)
diff --git a/core/utils/liveStatus.js b/core/utils/liveStatus.js
index 3d409c1..deeaa4b 100644
--- a/core/utils/liveStatus.js
+++ b/core/utils/liveStatus.js
@@ -134,80 +134,4 @@ exports.run = async (pluginData) => {
})
console.log(final.join("\n\n"))
-}
-
-var waitTime = new Date().getTime()
-var waitTimeEnabled = false
-
-/**@param {OTLiveStatusError} options @returns {Promise} */
-const uploadLiveStatus = (options) => {
- return new Promise((resolve,reject) => {
- if (process.argv.some((v) => v == "--noerrorupload")) return resolve(true)
- try {
- var data = encodeURIComponent(JSON.stringify(options))
- axios.get("https://livestatus.dj-dj.be/openticket?auth=openticketLIVESTATUS1234&data="+data).then((res) => {
- if (res.status == 200) resolve(true)
- else resolve(false)
- })
- }catch{
- resolve(false)
- }
- })
-}
-
-/**@param {String} err @returns {Promise}*/
-exports.liveStatusUploadManager = async (err) => {
- return new Promise(async (resolve) => {
-
- if (process.argv.some((v) => v == "--noerrorupload")) return resolve(true)
- else{
- var tsenabled = (bot.tsconfig.sendTranscripts.enableChannel || bot.tsconfig.sendTranscripts.enableDM)
- var tsmode = bot.tsconfig.sendTranscripts.useHTMLtranscripts ? "html" : "text"
- const transcriptMode = tsenabled ? tsmode : false
- const slashMode = getSlashEnabled()
-
- try {
- if (waitTimeEnabled){
- if (new Date().getTime() < waitTime){
- waitTimeEnabled = false
- return resolve(false)
- }
- }
- const result = await uploadLiveStatus({
- bot:{
- id:client.user.id,
- name:client.user.username,
- pfp:client.user.displayAvatarURL()
- },
- error:err,
- openticket:{
- config:{
- //TEMPORARY SOLUTION => AXIOS 414 ERROR!
- //messages:config.messages,
- //options:config.options,
- //transcripts:bot.tsconfig,
- //system:config.system
- },
- language:config.languageFile,
- version:"3.5.2",
- slashcmds:slashMode,
- transcripts:transcriptMode,
- plugins:fs.readdirSync("./plugins"),
- pluginload:globalPluginData
- },
- details:{
- errortime:new Date().getTime()
- //TEMPORARY SOLUTION => AXIOS 414 ERROR!
- //actions:this.actionRecorder,
- //database:fs.readFileSync("./storage/database.json").toString()
- }
- })
- if (!result){
- waitTime = new Date().getTime()+30000
- waitTimeEnabled = true
- }
- resolve(result)
- }catch{resolve(false)}
- }
- })
}
\ No newline at end of file
diff --git a/index.js b/index.js
index 72be0f8..a9bea81 100644
--- a/index.js
+++ b/index.js
@@ -25,7 +25,7 @@
INFORMATION:
============
- Open Ticket v3.5.2 - © DJdj Development
+ Open Ticket v3.5.3 - © DJdj Development
discord: https://discord.dj-dj.be
website: https://www.dj-dj.be
@@ -382,11 +382,6 @@ process.on("uncaughtException",async (error,origin) => {
errorLog(error.name+": "+error.message+" | origin: "+origin,error.stack)
APIEvents.onError(error.name+": "+error.message,new Date())
-
- //TEMPORARY INTEGRATION FOR LIVESTATUS ERROR UPLOADER:
- try {
- await require("./core/utils/liveStatus").liveStatusUploadManager(error.name+": "+error.message+" | origin: "+origin+"\n"+error.stack)
- } catch {this.errorLog.log("info","FAILED TO AUTO-REPORT ERROR! (you can ignore this error)")}
})
this.actionRecorder.push({
diff --git a/language/arabic.json b/language/arabic.json
index 1436481..b835a36 100644
--- a/language/arabic.json
+++ b/language/arabic.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"ChilledBroke#9986 & M4#5882",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors": {
"missingArgsTitle": "قيمة غير صالحة!",
diff --git a/language/custom.json b/language/custom.json
index 5c9a80b..14fe207 100644
--- a/language/custom.json
+++ b/language/custom.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"DJdj Development",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
diff --git a/language/czech.json b/language/czech.json
index cbfe110..3a562e9 100644
--- a/language/czech.json
+++ b/language/czech.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"spyeye_",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Neplatný Argument!",
diff --git a/language/danish.json b/language/danish.json
index 5e51f22..192dd0f 100644
--- a/language/danish.json
+++ b/language/danish.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"the_gamer#5095",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors": {
"missingArgsTitle": "Ugyldigt Argument!",
diff --git a/language/dutch.json b/language/dutch.json
index 8c6eab3..9938f7f 100644
--- a/language/dutch.json
+++ b/language/dutch.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"DJj123dj#1706",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Onjuiste parameters!",
diff --git a/language/english.json b/language/english.json
index 45487d6..a096d8d 100644
--- a/language/english.json
+++ b/language/english.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"DJdj Development",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
diff --git a/language/german.json b/language/german.json
index 943a34d..628927e 100644
--- a/language/german.json
+++ b/language/german.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"david.#8276 ",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Ungültiges Argument!",
diff --git a/language/greek.json b/language/greek.json
index 7ac3eaa..8adfdfc 100644
--- a/language/greek.json
+++ b/language/greek.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"ꙅoᴎɒᎸɘƚꙅ#3744",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
diff --git a/language/hungarian.json b/language/hungarian.json
index b737430..13ce00d 100644
--- a/language/hungarian.json
+++ b/language/hungarian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Snowy",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Hibás paraméterek!",
diff --git a/language/indonesian.json b/language/indonesian.json
index 010c7ce..7cc0fb5 100644
--- a/language/indonesian.json
+++ b/language/indonesian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"erxg",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Argumen tidak valid!",
diff --git a/language/italian.json b/language/italian.json
index efb4e19..421381b 100644
--- a/language/italian.json
+++ b/language/italian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Maurizio#0268",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Argomenti non validi!",
diff --git a/language/norwegian.json b/language/norwegian.json
index 66fe81b..f0229fa 100644
--- a/language/norwegian.json
+++ b/language/norwegian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"NoOneNook#0266",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Ugyldige argumenter!",
diff --git a/language/polish.json b/language/polish.json
index e149728..5145c2e 100644
--- a/language/polish.json
+++ b/language/polish.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"MKevas#8311",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Nieprawidłowe argumenty!",
diff --git a/language/portuguese.json b/language/portuguese.json
index b61e276..0ba4074 100644
--- a/language/portuguese.json
+++ b/language/portuguese.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"QuirAddon#9778",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Argumentos inválidos!",
diff --git a/language/romanian.json b/language/romanian.json
index 28a8256..f7f07b3 100644
--- a/language/romanian.json
+++ b/language/romanian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Sanke#6086",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Argumente Invalide",
diff --git a/language/russian.json b/language/russian.json
index 2294034..9ee035c 100644
--- a/language/russian.json
+++ b/language/russian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Apexo#0723",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Неверные аргументы!",
diff --git a/language/slovenian.json b/language/slovenian.json
index 9b082f6..0f6da75 100644
--- a/language/slovenian.json
+++ b/language/slovenian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"n1kkec#5341",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Napačen argument!",
diff --git a/language/spanish.json b/language/spanish.json
index ad2ec44..587abdb 100644
--- a/language/spanish.json
+++ b/language/spanish.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Redactado#1673 & josuens14#5267",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"¡Argumentos inválidos!",
diff --git a/language/thai.json b/language/thai.json
index 7fae6e0..5741548 100644
--- a/language/thai.json
+++ b/language/thai.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Mods HD#0661",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"อาร์กิวเมนต์ไม่ถูกต้อง!",
diff --git a/language/turkish.json b/language/turkish.json
index 34ba60b..46941ae 100644
--- a/language/turkish.json
+++ b/language/turkish.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Hydrâelčhâvø#1575",
- "_INFO":"This file is a translation for open ticket 3.5.2",
+ "_INFO":"This file is a translation for open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Geçersiz argümanlar!",
diff --git a/language/ukrainian.json b/language/ukrainian.json
index 1a0fa65..eb32f3f 100644
--- a/language/ukrainian.json
+++ b/language/ukrainian.json
@@ -1,6 +1,6 @@
{
"_CREDITS":"Anderskiy#4093",
- "_INFO":"Цей файл є перекладом для open ticket 3.5.2",
+ "_INFO":"Цей файл є перекладом для open ticket 3.5.3",
"errors":{
"missingArgsTitle":"Невірні аргументи!",
diff --git a/package.json b/package.json
index c0ef969..cea9a1c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-ticket",
- "version": "3.5.2",
+ "version": "3.5.3",
"description": "This is an open-source discord ticket bot, you can configure it and it comes with cool features like a transcript.",
"main": "index.js",
"scripts": {