diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6a0bf0f3..b5680dfc 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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!
-CONTRIBUTING GUIDELINES - Last updated: 23/3/2023
+CONTRIBUTING GUIDELINES - Last updated: 31/5/2024
© DJdj Development

Website: https://www.dj-dj.be
Discord: https://discord.dj-dj.be
Email: support@dj-dj.be
-Open Ticket website: https://openticket.dj-dj.be +Documentation: https://otdocs.dj-dj.be \ No newline at end of file diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 4386383c..acb7bc32 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -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!
Visit [Contributing.md](/.github/CONTRIBUTING.md) for rules about translating & adding features!
-SECURITY POLICY - Last updated: 4/5/2024
+SECURITY POLICY - Last updated: 31/5/2024
© DJdj Development

Website: https://www.dj-dj.be
Discord: https://discord.dj-dj.be
diff --git a/README.md b/README.md index 18cef2ed..ed340d28 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ There will be massive improvements for more stability & features! But the best p 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.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! -- Profile Picture **[SpyeEye](https://github.com/SpyEye2)** +- Profile Picture **[SpyEye](https://github.com/SpyEye2)** - Profile Picture **[DOSEV5](https://github.com/DOSEV5)** - Profile Picture **[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_
changelog: [click here](https://otgithub.dj-dj.be/releases)
documentation: [click here](https://otdocs.dj-dj.be/) diff --git a/config.json b/config.json index fee455b1..4bd52cc1 100644 --- a/config.json +++ b/config.json @@ -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", diff --git a/core/checker.js b/core/checker.js index 8de0a029..871448ec 100644 --- a/core/checker.js +++ b/core/checker.js @@ -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") diff --git a/core/transcriptSystem/communication/compileJsonV1.js b/core/transcriptSystem/communication/compileJsonV1.js index 5d270125..589f4c46 100644 --- a/core/transcriptSystem/communication/compileJsonV1.js +++ b/core/transcriptSystem/communication/compileJsonV1.js @@ -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, diff --git a/core/transcriptSystem/manager.js b/core/transcriptSystem/manager.js index ac6895e7..1236da7b 100644 --- a/core/transcriptSystem/manager.js +++ b/core/transcriptSystem/manager.js @@ -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 diff --git a/index.js b/index.js index e52f5f5e..144a453e 100644 --- a/index.js +++ b/index.js @@ -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 diff --git a/language/arabic.json b/language/arabic.json index 5db38086..cb1b1a70 100644 --- a/language/arabic.json +++ b/language/arabic.json @@ -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": "قيمة غير صالحة!", diff --git a/language/bulgarian.json b/language/bulgarian.json index d7776aa3..c3e0bb74 100644 --- a/language/bulgarian.json +++ b/language/bulgarian.json @@ -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":"Грешни Аргументи!", diff --git a/language/custom.json b/language/custom.json index 2a68f576..02cd3a89 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Invalid Arguments!", diff --git a/language/czech.json b/language/czech.json index ea67cb32..70b1ba04 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Neplatný Argument!", diff --git a/language/danish.json b/language/danish.json index bfbf9354..cba411b8 100644 --- a/language/danish.json +++ b/language/danish.json @@ -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!", diff --git a/language/dutch.json b/language/dutch.json index fb850d64..f6596f39 100644 --- a/language/dutch.json +++ b/language/dutch.json @@ -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!", diff --git a/language/english.json b/language/english.json index e234426a..2316d490 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Invalid Arguments!", diff --git a/language/french.json b/language/french.json index 34700b5e..6a8f3ba2 100644 --- a/language/french.json +++ b/language/french.json @@ -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 !", diff --git a/language/german.json b/language/german.json index f3ffdc0d..b0308713 100644 --- a/language/german.json +++ b/language/german.json @@ -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!", diff --git a/language/greek.json b/language/greek.json index db460a31..250fac64 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Invalid Arguments!", diff --git a/language/hungarian.json b/language/hungarian.json index 514fd649..bf461c88 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Hibás paraméterek!", diff --git a/language/indonesian.json b/language/indonesian.json index ab73daec..ed7842ac 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Argumen tidak valid!", diff --git a/language/italian.json b/language/italian.json index 94480820..fd4600d3 100644 --- a/language/italian.json +++ b/language/italian.json @@ -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!", diff --git a/language/kurdish.json b/language/kurdish.json index 1ff1e3f3..c30cc333 100644 --- a/language/kurdish.json +++ b/language/kurdish.json @@ -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":"ئه‌وه‌ی هه‌ڵتبژاردوه‌ نادروسته‌", diff --git a/language/latvian.json b/language/latvian.json index 0192c3f9..0595cdf9 100644 --- a/language/latvian.json +++ b/language/latvian.json @@ -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!", diff --git a/language/norwegian.json b/language/norwegian.json index 564af9da..edbbcd99 100644 --- a/language/norwegian.json +++ b/language/norwegian.json @@ -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!", diff --git a/language/persian.json b/language/persian.json index 35c704b7..836773e6 100644 --- a/language/persian.json +++ b/language/persian.json @@ -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":"آرگومان‌های گم شده!", diff --git a/language/polish.json b/language/polish.json index 64ee2cd1..57a1bc40 100644 --- a/language/polish.json +++ b/language/polish.json @@ -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!", diff --git a/language/portuguese.json b/language/portuguese.json index 848d2b12..620c907e 100644 --- a/language/portuguese.json +++ b/language/portuguese.json @@ -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!", diff --git a/language/romanian.json b/language/romanian.json index 2162c662..38b48975 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.5", + "_INFO":"This file is a translation for open ticket 3.5.6", "errors":{ "missingArgsTitle":"Argumente Invalide", diff --git a/language/russian.json b/language/russian.json index 48ca91e3..36066f6b 100644 --- a/language/russian.json +++ b/language/russian.json @@ -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":"Неверные аргументы!", diff --git a/language/slovenian.json b/language/slovenian.json index c875ddfb..2d44abee 100644 --- a/language/slovenian.json +++ b/language/slovenian.json @@ -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!", diff --git a/language/spanish.json b/language/spanish.json index c4a751cc..5ebfde50 100644 --- a/language/spanish.json +++ b/language/spanish.json @@ -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!", diff --git a/language/thai.json b/language/thai.json index d354b613..f691f4c8 100644 --- a/language/thai.json +++ b/language/thai.json @@ -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":"อาร์กิวเมนต์ไม่ถูกต้อง", diff --git a/language/turkish.json b/language/turkish.json index c70fe8ee..bc5aeff6 100644 --- a/language/turkish.json +++ b/language/turkish.json @@ -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!", diff --git a/language/ukrainian.json b/language/ukrainian.json index 4d72ae6c..3f9ca690 100644 --- a/language/ukrainian.json +++ b/language/ukrainian.json @@ -1,6 +1,6 @@ { "_CREDITS":"ander", - "_INFO":"Цей файл є перекладом для open ticket 3.5.5", + "_INFO":"Цей файл є перекладом для open ticket 3.5.6", "errors":{ "missingArgsTitle":"Невірні аргументи!", diff --git a/logo.png b/logo.png deleted file mode 100644 index e6988c9f..00000000 Binary files a/logo.png and /dev/null differ diff --git a/package.json b/package.json index 72dee8ce..440710c5 100644 --- a/package.json +++ b/package.json @@ -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": {