Compare commits

...
4 Commits
Author SHA1 Message Date
Jasper acc89990c2 Open Ticket v3.5.6
Open Ticket v3.5.6
2024-05-31 16:42:41 +02:00
DJj123dj ee9f8eaca1 v3.5.6 bug fix update 2024-05-31 16:36:08 +02:00
Jasper ae8a8d1b14 v3.5.5 hotfix (instant push)
v3.5.5 hotfix (instant push)
2024-05-12 11:14:40 +02:00
DJj123dj 38afb9c2a6 v3.5.5 hotfix (instant push) 2024-05-12 11:14:02 +02:00
37 changed files with 53 additions and 60 deletions
+4 -3
View File
@@ -4,8 +4,9 @@
1. [Check if the language isn't already in open ticket!](/language/)
2. Check if the current translation is up-to-date!
3. Can you edit/write JSON?
4. [Have you read the documentation?](https://otdocs.dj-dj.be)
If there is translation missing & you can write json, then go to the next step!
If there is translation missing, you go to the next step!
### Step 2: translating
**RULES:**
@@ -35,9 +36,9 @@ But don't worry! You can already write some plugins!
If you want to contribute in another way, feel free to join [our discord server](https://discord.dj-dj.be) & talk about how you are going to do it. We will always help you further!
<br>
CONTRIBUTING GUIDELINES - Last updated: 23/3/2023<br>
CONTRIBUTING GUIDELINES - Last updated: 31/5/2024<br>
© DJdj Development<br><br>
Website: https://www.dj-dj.be <br>
Discord: https://discord.dj-dj.be <br>
Email: support@dj-dj.be <br>
Open Ticket website: https://openticket.dj-dj.be
Documentation: https://otdocs.dj-dj.be
+5 -5
View File
@@ -9,10 +9,10 @@ Below, you can find a list with the status of every open ticket version. This li
| Version | Supported | Until |
|-----------|-----------|-----------------------------|
| 3.5.5 | ✅ | |
| 3.5.4 | ✅ | June 2024 |
| 3.5.3 | 🟧 | Next Update |
| < 3.5.2 | ❌ | |
| 3.5.6 | ✅ | |
| 3.5.5 | ✅ | June 2024 |
| 3.5.4 | 🟧 | Next Update |
| < 3.5.4 | ❌ | |
## Reporting a Vulnerability
@@ -32,7 +32,7 @@ The `openticketdebug.txt` file would also be handy to upload!<br>
Visit [Contributing.md](/.github/CONTRIBUTING.md) for rules about translating & adding features!
<br>
SECURITY POLICY - Last updated: 4/5/2024<br>
SECURITY POLICY - Last updated: 31/5/2024<br>
© DJdj Development<br><br>
Website: https://www.dj-dj.be <br>
Discord: https://discord.dj-dj.be <br>
+4 -4
View File
@@ -5,7 +5,7 @@ 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.5-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.5) [![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)
[![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.6-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.6) [![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 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!
@@ -37,7 +37,7 @@ Take a look at all the features and discover the possibilities!
## 🩷 Sponsors
A big thanks to all our sponsors!
- <img src="https://github.com/SpyEye2.png" alt="Profile Picture" width="25px"></img> **[SpyeEye](https://github.com/SpyEye2)**
- <img src="https://github.com/SpyEye2.png" alt="Profile Picture" width="25px"></img> **[SpyEye](https://github.com/SpyEye2)**
- <img src="https://github.com/DOSEV5.png" alt="Profile Picture" width="25px"></img> **[DOSEV5](https://github.com/DOSEV5)**
- <img src="https://github.com/mods-hd.png" alt="Profile Picture" width="25px"></img> **[Mods HD](https://github.com/mods-hd)**
@@ -77,8 +77,8 @@ A big thanks to all our sponsors!
|Persian |sasanwm |🟢 Up To Date |
|Latvian |ronalds1398 |🟢 Up To Date |
## Links
current version: _v3.5.5_
## 📎 Links
current version: _v3.5.6_
</br>changelog: [click here](https://otgithub.dj-dj.be/releases)
</br>documentation: [click here](https://otdocs.dj-dj.be/)
+1 -1
View File
@@ -110,7 +110,7 @@
"dropdown":false,
"enableFooter":false,
"footer":"Open Ticket v3.5.5 - I'm a footer!",
"footer":"Open Ticket v3.5.6 - I'm a footer!",
"enableFooterImage":false,
"footerImage":"https://www.example.com/catmemes/cat.png",
+5 -5
View File
@@ -90,25 +90,25 @@ exports.checker = async () => {
}
if (mode == "userid"){
arrayValue.forEach((value,index) => {
if (value.length < 16 || value.length > 20 || !/^\d+$/.test(value)){
if (value.length < 16 || value.length > 40 || !/^\d+$/.test(value)){
createError("'"+path+":"+index+"' | this user id is invalid")
}
})
}else if (mode == "channelid"){
arrayValue.forEach((value,index) => {
if (value.length < 16 || value.length > 20 || !/^\d+$/.test(value)){
if (value.length < 16 || value.length > 40 || !/^\d+$/.test(value)){
createError("'"+path+":"+index+"' | this channel id is invalid")
}
})
}else if (mode == "roleid"){
arrayValue.forEach((value,index) => {
if (value.length < 16 || value.length > 20 || !/^\d+$/.test(value)){
if (value.length < 16 || value.length > 40 || !/^\d+$/.test(value)){
createError("'"+path+":"+index+"' | this role id is invalid")
}
})
}else if (mode == "serverid"){
arrayValue.forEach((value,index) => {
if (value.length < 16 || value.length > 20 || !/^\d+$/.test(value)){
if (value.length < 16 || value.length > 40 || !/^\d+$/.test(value)){
createError("'"+path+":"+index+"' | this server id is invalid")
}
})
@@ -422,7 +422,7 @@ exports.checker = async () => {
checkType(config.adminRoles,"array","/adminRoles")
checkDiscordArray("roleid",config.adminRoles,"adminRoles")
checkString(config.prefix,1,15,"prefix","prefix")
checkString(config.prefix,1,40,"prefix","prefix")
//languagefile
checkType(config.languageFile,"string","languageFile")
+3 -11
View File
@@ -49,18 +49,10 @@ module.exports = () => {
const currentTicketOptions = configParser.getTicketById(customId)
if (currentTicketOptions == false) return interaction.reply({embeds:[bot.errorLog.serverError(l.errors.anotherOption)]})
if (interaction.isButton()){
try {
if (interaction.isButton() || interaction.isStringSelectMenu() || interaction.isChatInputCommand()){
try{
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})
} catch{}
}else if (interaction.isChatInputCommand()){
try {
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})
} catch{}
}else if (interaction.isStringSelectMenu()){
try {
await interaction.deferUpdate()
} catch{}
}catch{}
}
const currentUserTicketAmount = storage.get("amountOfUserTickets",interaction.member.id)
@@ -95,7 +95,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
bot:{
name:data.bot.name || "Open Ticket",
id:Number(data.bot.id) || 0,
pfp:data.bot.pfp || "dj-dj.be/wp-content/uploads/2022/07/profielfoto-blauw-wit.png?size=128"
pfp:data.bot.pfp || "transcripts.dj-dj.be/favicon.png"
},
ticket:{
name:channel.name,
+1 -1
View File
@@ -15,7 +15,7 @@ const checkAvailability = async () => {
if (process.argv.some((v) => v == "--tsoffline")) return true
const axios = require("axios").default
try{
const res = await axios.get("https://transcripts.dj-dj.be/api/status.json")
const res = await axios.get("https://apis.dj-dj.be/transcripts/status.json")
if (!res || !(res.status == 200) || !res.data) return false
if (res.data && res.data["v2"] == "online") return true
+1 -1
View File
@@ -25,7 +25,7 @@
INFORMATION:
============
Open Ticket v3.5.5 - © DJdj Development
Open Ticket v3.5.6 - © DJdj Development
discord: https://discord.dj-dj.be
website: https://www.dj-dj.be
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"deqressing",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors": {
"missingArgsTitle": "قيمة غير صالحة!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"Stragar",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Грешни Аргументи!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"DJdj Development",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"spyeye_",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Neplatný Argument!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":".the_gamer",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors": {
"missingArgsTitle": "Ugyldigt Argument!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"djj123dj",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Onjuiste parameters!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"DJdj Development",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"tostam",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Arguments invalides !",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"david.3",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Ungültiges Argument!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"ꙅoᴎɒᎸɘƚꙅ#3744",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Invalid Arguments!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"Snowy",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Hibás paraméterek!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"erxg",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Argumen tidak valid!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"maurizio26",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Argomenti non validi!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"raze.hama",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"ئه‌وه‌ی هه‌ڵتبژاردوه‌ نادروسته‌",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"Ronalds1398",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Nepareizi argumenti!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"noonenook",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Ugyldige argumenter!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"sasanwm",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"آرگومان‌های گم شده!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"mkevas",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Nieprawidłowe argumenty!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"quiradon",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Argumentos inválidos!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"Sanke#6086",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Argumente Invalide",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"apexo & ander",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Неверные аргументы!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"n1kkec",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Napačen argument!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"redactado & josuens",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"¡Argumentos inválidos!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"modshd",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"อาร์กิวเมนต์ไม่ถูกต้อง",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"Hydra#0009",
"_INFO":"This file is a translation for open ticket 3.5.5",
"_INFO":"This file is a translation for open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Geçersiz argümanlar!",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_CREDITS":"ander",
"_INFO":"Цей файл є перекладом для open ticket 3.5.5",
"_INFO":"Цей файл є перекладом для open ticket 3.5.6",
"errors":{
"missingArgsTitle":"Невірні аргументи!",
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "open-ticket",
"author": "DJdj Development",
"version": "3.5.5",
"version": "3.5.6",
"description": "The most advanced open-source discord ticket bot with HTML transcripts and plugins! It uses discord.js v14 & no database required!",
"main": "index.js",
"scripts": {
@@ -14,7 +14,7 @@
"dependencies": {
"axios": "^1.6.2",
"chalk": "^5.0.1",
"discord.js": "^14.14.1"
"discord.js": "^14.15.1"
},
"repository": {
"type": "git",