From dee2a21be9f4d8bfc7ceafe43726ddb2ca039bf5 Mon Sep 17 00:00:00 2001 From: Jasper Date: Fri, 19 May 2023 16:23:12 +0200 Subject: [PATCH 1/2] Update reopen.js --- commands/reopen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/reopen.js b/commands/reopen.js index 09d4678..ce63a1e 100644 --- a/commands/reopen.js +++ b/commands/reopen.js @@ -39,7 +39,7 @@ module.exports = () => { if (hiddendata.length < 1) return interaction.editReply({embeds:[bot.errorLog.notInATicket]}) const ticketId = hiddendata.find(d => d.key == "type").value - if (hiddendata.data.find(h => h.key == "pendingdelete")) return interaction.editReply({embeds:[bot.errorLog.warning("Warning!","You can't re-open a ticket while it's being deleted!")]}) + if (hiddendata.find(h => h.key == "pendingdelete")) return interaction.editReply({embeds:[bot.errorLog.warning("Warning!","You can't re-open a ticket while it's being deleted!")]}) await interaction.editReply({embeds:[bot.embeds.commands.reopenEmbed(interaction.user)],components:[bot.buttons.close.openRowNormal]}) @@ -48,4 +48,4 @@ module.exports = () => { log("command","someone used the 'reopen' command",[{key:"user",value:interaction.user.tag}]) APIEvents.onCommand("reopen",true,interaction.user,interaction.channel,interaction.guild,new Date()) }) -} \ No newline at end of file +} From 92a36717688d9d3134ca2f3b494f638c85169392 Mon Sep 17 00:00:00 2001 From: Jasper Date: Mon, 8 Apr 2024 23:28:53 +0200 Subject: [PATCH 2/2] Fixed README documentation links --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b60fb15..821b80e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ There will be massive improvements for more stability & features! But the best p 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 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! Take a look at all the features and discover the possibilities! -### [Visit the Documentation!](https://otdocs.dj-dj.be/quick-start) +### [Visit the Documentation!](https://otdocs.dj-dj.be/) ## Features - **🎉 advanced html transcripts!** @@ -75,6 +75,6 @@ Take a look at all the features and discover the possibilities! ## links current version: _v3.5.4_
changelog: [click here](https://otgithub.dj-dj.be/releases) -
documentation: [click here](https://otdocs.dj-dj.be/quick-start) +
documentation: [click here](https://otdocs.dj-dj.be/) © 2024 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.dj-dj.be) | [terms of service](https://www.dj-dj.be/terms)