Skip to content

Commit

Permalink
Open Ticket v3.5.6
Browse files Browse the repository at this point in the history
Open Ticket v3.5.6
  • Loading branch information
DJj123dj authored May 31, 2024
2 parents ae8a8d1 + ee9f8ea commit acc8999
Show file tree
Hide file tree
Showing 36 changed files with 49 additions and 48 deletions.
7 changes: 4 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:**
Expand Down Expand Up @@ -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: [email protected] <br>
Open Ticket website: https://openticket.dj-dj.be
Documentation: https://otdocs.dj-dj.be
10 changes: 5 additions & 5 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down Expand Up @@ -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)**

Expand Down Expand Up @@ -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/)

Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions core/checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
})
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion core/transcriptSystem/communication/compileJsonV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion core/transcriptSystem/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion language/arabic.json
Original file line number Diff line number Diff line change
@@ -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": "قيمة غير صالحة!",
Expand Down
2 changes: 1 addition & 1 deletion language/bulgarian.json
Original file line number Diff line number Diff line change
@@ -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":"Грешни Аргументи!",
Expand Down
2 changes: 1 addition & 1 deletion language/custom.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/czech.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/danish.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/dutch.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/english.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/french.json
Original file line number Diff line number Diff line change
@@ -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 !",
Expand Down
2 changes: 1 addition & 1 deletion language/german.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/greek.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/hungarian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/indonesian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/italian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/kurdish.json
Original file line number Diff line number Diff line change
@@ -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":"ئه‌وه‌ی هه‌ڵتبژاردوه‌ نادروسته‌",
Expand Down
2 changes: 1 addition & 1 deletion language/latvian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/norwegian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/persian.json
Original file line number Diff line number Diff line change
@@ -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":"آرگومان‌های گم شده!",
Expand Down
2 changes: 1 addition & 1 deletion language/polish.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/portuguese.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/romanian.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion language/russian.json
Original file line number Diff line number Diff line change
@@ -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":"Неверные аргументы!",
Expand Down
2 changes: 1 addition & 1 deletion language/slovenian.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/spanish.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/thai.json
Original file line number Diff line number Diff line change
@@ -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":"อาร์กิวเมนต์ไม่ถูกต้อง",
Expand Down
2 changes: 1 addition & 1 deletion language/turkish.json
Original file line number Diff line number Diff line change
@@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion language/ukrainian.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_CREDITS":"ander",
"_INFO":"Цей файл є перекладом для open ticket 3.5.5",
"_INFO":"Цей файл є перекладом для open ticket 3.5.6",

"errors":{
"missingArgsTitle":"Невірні аргументи!",
Expand Down
Binary file removed logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit acc8999

Please sign in to comment.