Skip to content

Commit

Permalink
Open Ticket v3.5.4
Browse files Browse the repository at this point in the history
Open Ticket v3.5.4
  • Loading branch information
DJj123dj committed Apr 4, 2024
2 parents 407e56a + e80ce1a commit 71074e1
Show file tree
Hide file tree
Showing 43 changed files with 523 additions and 240 deletions.
9 changes: 4 additions & 5 deletions .github/SECURITY.md
Expand Up @@ -9,11 +9,10 @@ Below, you can find a list with the status of every open ticket version. This li

| Version | Supported | Until |
|-----------|-----------|-----------------------------|
| 3.5.3 || |
| 3.5.2 || April 2024 |
| 3.5.1 | 🟧 | Next Update |
| 3.5.0 | 🟧 | Next Update |
| < 3.5.0 || |
| 3.5.4 || |
| 3.5.3 || May 2024 |
| 3.5.2 | 🟧 | Next Update |
| < 3.5.2 || |

## Reporting a Vulnerability

Expand Down
79 changes: 37 additions & 42 deletions README.md
Expand Up @@ -5,36 +5,28 @@ There will be massive improvements for more stability & features! But the best p

<img src="https://apis.dj-dj.be/cdn/openticket/logo.png" alt="Open Ticket" width="600px">

[![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.5.3-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.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)
[![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.5.4-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.4) [![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://otdocs.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!
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://docs.openticket.dj-dj.be/quick-start)
### [Visit the Documentation!](https://otdocs.dj-dj.be/quick-start)

## Features
- **🎉 advanced html transcripts!**
- 🔒 close, ❌ delete & ✅ re-open tickets
- 🇬🇧 translation in 19 different languages
- 🇬🇧 translation in 22 different languages
- 📄 very advanced customisation
- 🆗 buttons or 🔽 dropdowns!
- 🆒 plugins
- ∞ unlimited tickets & unlimited messages
- 🆒 custom plugins
- ∞ unlimited tickets & embeds
- ➕➖ add/remove users from a ticket
- 📊 ticket, user & global staticstics
- /slash & text commands

<details>
<summary><b>But wait, there are even more features! Click here to discover!</b></summary>


- fully customisable embeds & buttons
- close tickets with reason
- reaction roles (or verification system)
- discord interaction buttons
- discord.js v14
</details>
- 📥 reaction roles & url buttons
- 🖥️ discord.js v14 & axios
- 🎛️ latest discord integration

## preview
<img src="https://apis.dj-dj.be/cdn/openticket/message_buttons.png" alt="Message with buttons" width="350px">
Expand All @@ -54,32 +46,35 @@ Take a look at all the features and discover the possibilities!
|Designer |vuur_draak |

### Translators
|Language |Maintainer (discord name) |Status |
|-------------------|--------------------------|--------------------------------|
|English |djj123dj |🟢 Up To Date |
|Dutch |djj123dj |🟢 Up To Date |
|French |sankedev & tostam |🟢 Up To Date |
|Romanian |sankedev |🟢 Up To Date |
|Spanish |redactado & josuens |🟢 Up To Date |
|German |david.3 |🟢 Up To Date |
|Italian |maurizio26 |🟢 Up To Date |
|Czech |spyeye_ |🟢 Up To Date |
|Arabic |deqressing |🟢 Up To Date |
|Danish |.the_gamer |🟢 Up To Date |
|Portuguese |quiradon |🔴 Outdated |
|Russian |apexo & ander |🟢 Up To Date |
|Ukrainian |ander |🟢 Up To Date |
|Turkish |Hydra#0009 |🔴 Outdated |
|Polish |mkevas |🟢 Up To Date |
|Slovenian |n1kkec |🔴 Outdated |
|Thai |modshd |🟢 Up To Date |
|Norwegian |noonenook |🟢 Up To Date |
|Greek |stefanos__. |🔴 Outdated |
|Indonesian |erxg |🟢 Up To Date |
|Language |Maintainer (discord name) |Status |
|-------------------|--------------------------|---------------|
|English |djj123dj |🟢 Up To Date |
|Dutch |djj123dj |🟢 Up To Date |
|French |sankedev & tostam |🟢 Up To Date |
|Romanian |sankedev |🟢 Up To Date |
|Spanish |redactado & josuens |🟢 Up To Date |
|German |david.3 |🟢 Up To Date |
|Italian |maurizio26 |🟢 Up To Date |
|Czech |spyeye_ |🟢 Up To Date |
|Arabic |deqressing |🟢 Up To Date |
|Danish |.the_gamer |🟢 Up To Date |
|Portuguese |quiradon |🔴 Outdated |
|Russian |apexo & ander |🟢 Up To Date |
|Ukrainian |ander |🟢 Up To Date |
|Turkish |Hydra#0009 |🔴 Outdated |
|Polish |mkevas |🟢 Up To Date |
|Slovenian |n1kkec |🔴 Outdated |
|Thai |modshd |🟢 Up To Date |
|Norwegian |noonenook |🟢 Up To Date |
|Greek |stefanos__. |🔴 Outdated |
|Indonesian |erxg |🟢 Up To Date |
|Kurdish |raze.hama |🟢 Up To Date |
|Hungarian |Snowy |🔴 Outdated |
|Persian |sasanwm |🟢 Up To Date |

## links
current version: _v3.5.3_
current version: _v3.5.4_
</br>changelog: [click here](https://otgithub.dj-dj.be/releases)
</br>documentation: [click here](https://docs.openticket.dj-dj.be/quick-start)
</br>documentation: [click here](https://otdocs.dj-dj.be/quick-start)

© 2023 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.dj-dj.be) | [terms of service](https://www.dj-dj.be/terms)
© 2024 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.dj-dj.be) | [terms of service](https://www.dj-dj.be/terms)
2 changes: 0 additions & 2 deletions commands/close.js
Expand Up @@ -57,8 +57,6 @@ module.exports = () => {

const reason = interaction.options.getString("reason") ? interaction.options.getString("reason") : false



const hiddendata = bot.hiddenData.readHiddenData(interaction.channel.id)
if (hiddendata.length < 1) return interaction.reply({embeds:[bot.errorLog.notInATicket]})
const ticketId = hiddendata.find(d => d.key == "type").value
Expand Down
4 changes: 2 additions & 2 deletions commands/reopen.js
Expand Up @@ -23,7 +23,7 @@ module.exports = () => {

msg.channel.send({embeds:[bot.embeds.commands.reopenEmbed(msg.author)],components:[bot.buttons.close.openRowNormal]})

require("../core/ticketActions/ticketReopener").reopenTicket(msg.guild,msg.channel,msg.author)
require("../core/ticketActions/ticketReopener").reopenTicket(msg.guild,msg.channel,msg.author,ticketId)

log("command","someone used the 'reopen' command",[{key:"user",value:msg.author.username}])
APIEvents.onCommand("reopen",true,msg.author,msg.channel,msg.guild,new Date())
Expand All @@ -43,7 +43,7 @@ module.exports = () => {

await interaction.editReply({embeds:[bot.embeds.commands.reopenEmbed(interaction.user)],components:[bot.buttons.close.openRowNormal]})

require("../core/ticketActions/ticketReopener").reopenTicket(interaction.guild,interaction.channel,interaction.user)
require("../core/ticketActions/ticketReopener").reopenTicket(interaction.guild,interaction.channel,interaction.user,ticketId)

log("command","someone used the 'reopen' command",[{key:"user",value:interaction.user.username}])
APIEvents.onCommand("reopen",true,interaction.user,interaction.channel,interaction.guild,new Date())
Expand Down
29 changes: 14 additions & 15 deletions config.json
@@ -1,4 +1,7 @@
{
"_DOCUMENTATION":"https://otdocs.dj-dj.be",
"_SUPPORT":"https://discord.dj-dj.be",

"color":"#ffffff",
"serverId":"server id (for slash cmds)",
"token":{
Expand Down Expand Up @@ -28,10 +31,9 @@
"answerInEphemeralOnOpen":true
},

"SUPPORT":"Take look at our wiki: https://docs.openticket.dj-dj.be or join our discord server: https://discord.dj-dj.be if you need support!",
"options":[
{
"id":"general",
"id":"example-ticket",
"name":"Question",
"description":"Create this ticket if you have a question.",
"icon":"🎫",
Expand Down Expand Up @@ -74,44 +76,41 @@
"roleId":"012345678910"
}
}

},
{
"id":"website",
"id":"example-website",
"name":"Website",
"description":"Go to our website.",
"icon":"",
"label":"click here",
"type":"website",

"url":"https://www.dj-dj.be"

},
{
"id":"role",
"name":"Verify",
"description":"Click here to get the verify role.",
"icon":"👮🏼",
"label":"get a role",
"id":"example-role",
"name":"Update Ping",
"description":"Click here to get pinged for updates!",
"icon":"📢",
"label":"Update Ping",
"type":"role",

"color":"red",
"roles":["discord role id"],
"mode":"add&remove|remove|add",
"enableDmOnOpen":true

}
],

"messages":[
{
"id":"1",
"id":"example-embed",
"name":"Choose Your Ticket",
"description":"You can click one of the buttons below!",
"dropdown":false,

"enableFooter":false,
"footer":"Open Ticket v3.5.3 - I'm a footer!",
"footer":"Open Ticket v3.5.4 - I'm a footer!",

"enableFooterImage":false,
"footerImage":"https://www.example.com/catmemes/cat.png",
Expand All @@ -125,7 +124,7 @@
"enableCustomColor":false,
"color":"#ffffff",

"options":["general","apply"],
"options":["example-ticket","example-website","example-role"],

"other":{
"enableTicketExplaination":true,
Expand All @@ -146,4 +145,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion core/api/api.js
Expand Up @@ -4,7 +4,7 @@ const bot = require("../../index")
exports.client = bot.client
exports.config = bot.config
exports.utils = {
log:bot.errorLog.log(),
log:bot.errorLog.log,
storage:bot.storage
}

Expand Down

0 comments on commit 71074e1

Please sign in to comment.