diff --git a/.github/SECURITY.md b/.github/SECURITY.md index eb2095d..25c253c 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -10,7 +10,7 @@ Support for Open Ticket is only available for the versions specified below! | Version | Supported | | ------- | ------------------ | -| 3.3.2 | :white_check_mark: | +| 3.3.3 | :white_check_mark: | | 3.3.0 | 🟧 | | 3.2.2 | 🟧 | | < 3.2.2 | :x: | diff --git a/README.md b/README.md index a3c9934..9e4b73c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Open Ticket -[![discord](https://img.shields.io/badge/discord-join%20our%20server-5865F2.svg?style=flat-square&logo=discord)](https://discord.com/invite/26vT9wt3n3) [![version](https://img.shields.io/badge/version-3.3.2-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.3.2) [![discord.js](https://img.shields.io/badge/discord.js-v14-CB3837.svg?style=flat-square&logo=npm)]() [![license](https://img.shields.io/badge/license-GPL%203.0-important.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [![stars](https://img.shields.io/github/stars/djj123dj/open-ticket?color=yellow&label=stars&logo=github&style=flat-square)](https://docs.openticket.dj-dj.be) +[![discord](https://img.shields.io/badge/discord-join%20our%20server-5865F2.svg?style=flat-square&logo=discord)](https://discord.com/invite/26vT9wt3n3) [![version](https://img.shields.io/badge/version-3.3.3-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.3.3) [![discord.js](https://img.shields.io/badge/discord.js-v14-CB3837.svg?style=flat-square&logo=npm)]() [![license](https://img.shields.io/badge/license-GPL%203.0-important.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [![stars](https://img.shields.io/github/stars/djj123dj/open-ticket?color=yellow&label=stars&logo=github&style=flat-square)](https://docs.openticket.dj-dj.be) ### Open Ticket Open Ticket is of the most customisable discord ticket bots of all time! @@ -62,7 +62,7 @@ Translators |Slovenian |n1kkec#5341 | ## links -current version: _v3.3.2_ +current version: _v3.3.3_
changelog: [click here](https://docs.openticket.dj-dj.be/other/changelog)
documentation: [click here](https://docs.openticket.dj-dj.be/quick-start) diff --git a/config.json b/config.json index 42d5aac..463d6e8 100644 --- a/config.json +++ b/config.json @@ -102,7 +102,7 @@ "dropdown":false, "enableFooter":false, - "footer":"Open Ticket v3.3.2 - I'm a footer!", + "footer":"Open Ticket v3.3.3 - I'm a footer!", "enableFooterImage":false, "footerImage":"https://www.example.com/catmemes/cat.png", diff --git a/core/ticketActions/ticketOpener.js b/core/ticketActions/ticketOpener.js index 8640e02..8d17be8 100755 --- a/core/ticketActions/ticketOpener.js +++ b/core/ticketActions/ticketOpener.js @@ -47,12 +47,11 @@ module.exports = () => { //ticketoptions from config const currentTicketOptions = configParser.getTicketById(customId) - if (currentTicketOptions == false) return interaction.reply({embeds:[bot.errorLog.serverError(l.errors.anotherOption)]}) if (interaction.isButton()){ try { - await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpe}) + await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen}) } catch{} }else if (interaction.isChatInputCommand()){ await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen}) diff --git a/core/transcriptSystem/communication/template.json b/core/transcriptSystem/communication/template.json index 840d985..b8a3a0a 100644 --- a/core/transcriptSystem/communication/template.json +++ b/core/transcriptSystem/communication/template.json @@ -1,6 +1,6 @@ { "version":"1.0.0", - "otversion":"3.3.2", + "otversion":"3.3.3", "style":{ "enableCustomBackground":false, "backgroundModus":"color OR image", diff --git a/core/utils/hiddendata.js b/core/utils/hiddendata.js index f620185..2760edd 100644 --- a/core/utils/hiddendata.js +++ b/core/utils/hiddendata.js @@ -9,8 +9,8 @@ exports.readHiddenData = (messageContent) => { //ticketdata//type:123|userid:456) - if (!messageContent.includes("[ ](OTDATA|")) return {type:"",data:[],status:false} - const rawhidden = messageContent.split("[ ](OTDATA|")[1] + if (!messageContent.includes("[ ](https://OTDATA|")) return {type:"",data:[],status:false} + const rawhidden = messageContent.split("[ ](https://OTDATA|")[1] const rawhidden2 = rawhidden.split("//") const datatype = rawhidden2[0] @@ -47,7 +47,7 @@ exports.writeHiddenData = (type,data) => { const datastring = dataValues.join("|") - const result = "[ ](OTDATA|"+type+"//"+datastring+")" + const result = "[ ](https://OTDATA|"+type+"//"+datastring+")" return result } @@ -58,10 +58,10 @@ exports.writeHiddenData = (type,data) => { * @returns {{description:String,hiddenData:hiddenData}} */ exports.removeHiddenData = (description) => { - if (!description.includes("[ ](OTDATA|")) return {description:description,hiddenData:[]} + if (!description.includes("[ ](https://OTDATA|")) return {description:description,hiddenData:[]} const hiddenData = this.readHiddenData(description) - const splitted = description.split("[ ](OTDATA") + const splitted = description.split("[ ](https://OTDATA") const original = splitted[0] return {description:original,hiddenData:hiddenData} diff --git a/index.js b/index.js index 88fd156..ac2ffb1 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ INFORMATION: ============ - Open Ticket v3.3.2 - © DJdj Development + Open Ticket v3.3.3 - © DJdj Development discord: https://discord.dj-dj.be website: https://www.dj-dj.be diff --git a/package.json b/package.json index 535f090..9b42487 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-ticket", - "version": "3.3.2", + "version": "3.3.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": {