v3.5.3 push 1
This commit is contained in:
+11
-12
@@ -1,20 +1,19 @@
|
|||||||
# Security Policy
|
# Security Policy
|
||||||
|
|
||||||
## Supported Versions
|
## Supported Versions
|
||||||
|
Below, you can find a list with the status of every open ticket version. This list will change every update!
|
||||||
|
|
||||||
We only support Open Ticket versions listed below! With support, we mean bugs, errors & helping you further!
|
- ✅ Supported **(bugs, errors, discord support, documentation, html transcripts)**
|
||||||
|
- 🟧 Deprecated / Partially Supported **(discord support, documentation, html transcripts)**
|
||||||
|
- ❌ Fully Deprecated / Not Supported **(sometimes documentation)**
|
||||||
|
|
||||||
✅ Supported
|
| Version | Supported | Until |
|
||||||
🟧 Partially Supported
|
|-----------|-----------|-----------------------------|
|
||||||
❌ Not Supported
|
| 3.5.3 | ✅ | |
|
||||||
|
| 3.5.2 | ✅ | April 2024 |
|
||||||
| Version | Supported |
|
| 3.5.1 | 🟧 | Next Update |
|
||||||
|-----------|-------------------|
|
| 3.5.0 | 🟧 | Next Update |
|
||||||
| 3.5.2 | ✅ |
|
| < 3.5.0 | ❌ | |
|
||||||
| 3.5.1 | ✅ |
|
|
||||||
| 3.5.0 | ✅ |
|
|
||||||
| 3.4.4 | 🟧 |
|
|
||||||
| < 3.4.4 | ❌ |
|
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
|||||||
@@ -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">
|
<img src="https://apis.dj-dj.be/cdn/openticket/logo.png" alt="Open Ticket" width="600px">
|
||||||
|
|
||||||
[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.2) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
|
[](https://discord.com/invite/26vT9wt3n3) [](https://github.com/DJj123dj/open-ticket/releases/tag/v3.5.3) []() [](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) [](https://docs.openticket.dj-dj.be)
|
||||||
|
|
||||||
### Open Ticket
|
### 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 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!
|
||||||
@@ -78,7 +78,7 @@ Take a look at all the features and discover the possibilities!
|
|||||||
|Indonesian |erxg |🟢 Up To Date |
|
|Indonesian |erxg |🟢 Up To Date |
|
||||||
|
|
||||||
## links
|
## links
|
||||||
current version: _v3.5.2_
|
current version: _v3.5.3_
|
||||||
</br>changelog: [click here](https://otgithub.dj-dj.be/releases)
|
</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://docs.openticket.dj-dj.be/quick-start)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -111,7 +111,7 @@
|
|||||||
"dropdown":false,
|
"dropdown":false,
|
||||||
|
|
||||||
"enableFooter":false,
|
"enableFooter":false,
|
||||||
"footer":"Open Ticket v3.5.2 - I'm a footer!",
|
"footer":"Open Ticket v3.5.3 - I'm a footer!",
|
||||||
|
|
||||||
"enableFooterImage":false,
|
"enableFooterImage":false,
|
||||||
"footerImage":"https://www.example.com/catmemes/cat.png",
|
"footerImage":"https://www.example.com/catmemes/cat.png",
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ exports.getDropdown = (ids,placeholder) => {
|
|||||||
}else{
|
}else{
|
||||||
if (option.label) selectComponent.setLabel(option.label)
|
if (option.label) selectComponent.setLabel(option.label)
|
||||||
if (option.icon) selectComponent.setEmoji(option.icon)
|
if (option.icon) selectComponent.setEmoji(option.icon)
|
||||||
if (option.description) selectComponent.setDescription(option.description)
|
if (option.description && option.description.length < 100) selectComponent.setDescription(option.description)
|
||||||
}
|
}
|
||||||
|
|
||||||
dropdown.addOptions(selectComponent)
|
dropdown.addOptions(selectComponent)
|
||||||
|
|||||||
@@ -134,80 +134,4 @@ exports.run = async (pluginData) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
console.log(final.join("\n\n"))
|
console.log(final.join("\n\n"))
|
||||||
}
|
|
||||||
|
|
||||||
var waitTime = new Date().getTime()
|
|
||||||
var waitTimeEnabled = false
|
|
||||||
|
|
||||||
/**@param {OTLiveStatusError} options @returns {Promise<Boolean>} */
|
|
||||||
const uploadLiveStatus = (options) => {
|
|
||||||
return new Promise((resolve,reject) => {
|
|
||||||
if (process.argv.some((v) => v == "--noerrorupload")) return resolve(true)
|
|
||||||
try {
|
|
||||||
var data = encodeURIComponent(JSON.stringify(options))
|
|
||||||
axios.get("https://livestatus.dj-dj.be/openticket?auth=openticketLIVESTATUS1234&data="+data).then((res) => {
|
|
||||||
if (res.status == 200) resolve(true)
|
|
||||||
else resolve(false)
|
|
||||||
})
|
|
||||||
}catch{
|
|
||||||
resolve(false)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
/**@param {String} err @returns {Promise<Boolean>}*/
|
|
||||||
exports.liveStatusUploadManager = async (err) => {
|
|
||||||
return new Promise(async (resolve) => {
|
|
||||||
|
|
||||||
if (process.argv.some((v) => v == "--noerrorupload")) return resolve(true)
|
|
||||||
else{
|
|
||||||
var tsenabled = (bot.tsconfig.sendTranscripts.enableChannel || bot.tsconfig.sendTranscripts.enableDM)
|
|
||||||
var tsmode = bot.tsconfig.sendTranscripts.useHTMLtranscripts ? "html" : "text"
|
|
||||||
const transcriptMode = tsenabled ? tsmode : false
|
|
||||||
const slashMode = getSlashEnabled()
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (waitTimeEnabled){
|
|
||||||
if (new Date().getTime() < waitTime){
|
|
||||||
waitTimeEnabled = false
|
|
||||||
return resolve(false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const result = await uploadLiveStatus({
|
|
||||||
bot:{
|
|
||||||
id:client.user.id,
|
|
||||||
name:client.user.username,
|
|
||||||
pfp:client.user.displayAvatarURL()
|
|
||||||
},
|
|
||||||
error:err,
|
|
||||||
openticket:{
|
|
||||||
config:{
|
|
||||||
//TEMPORARY SOLUTION => AXIOS 414 ERROR!
|
|
||||||
//messages:config.messages,
|
|
||||||
//options:config.options,
|
|
||||||
//transcripts:bot.tsconfig,
|
|
||||||
//system:config.system
|
|
||||||
},
|
|
||||||
language:config.languageFile,
|
|
||||||
version:"3.5.2",
|
|
||||||
slashcmds:slashMode,
|
|
||||||
transcripts:transcriptMode,
|
|
||||||
plugins:fs.readdirSync("./plugins"),
|
|
||||||
pluginload:globalPluginData
|
|
||||||
},
|
|
||||||
details:{
|
|
||||||
errortime:new Date().getTime()
|
|
||||||
//TEMPORARY SOLUTION => AXIOS 414 ERROR!
|
|
||||||
//actions:this.actionRecorder,
|
|
||||||
//database:fs.readFileSync("./storage/database.json").toString()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
if (!result){
|
|
||||||
waitTime = new Date().getTime()+30000
|
|
||||||
waitTimeEnabled = true
|
|
||||||
}
|
|
||||||
resolve(result)
|
|
||||||
}catch{resolve(false)}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
INFORMATION:
|
INFORMATION:
|
||||||
============
|
============
|
||||||
Open Ticket v3.5.2 - © DJdj Development
|
Open Ticket v3.5.3 - © DJdj Development
|
||||||
|
|
||||||
discord: https://discord.dj-dj.be
|
discord: https://discord.dj-dj.be
|
||||||
website: https://www.dj-dj.be
|
website: https://www.dj-dj.be
|
||||||
@@ -382,11 +382,6 @@ process.on("uncaughtException",async (error,origin) => {
|
|||||||
errorLog(error.name+": "+error.message+" | origin: "+origin,error.stack)
|
errorLog(error.name+": "+error.message+" | origin: "+origin,error.stack)
|
||||||
|
|
||||||
APIEvents.onError(error.name+": "+error.message,new Date())
|
APIEvents.onError(error.name+": "+error.message,new Date())
|
||||||
|
|
||||||
//TEMPORARY INTEGRATION FOR LIVESTATUS ERROR UPLOADER:
|
|
||||||
try {
|
|
||||||
await require("./core/utils/liveStatus").liveStatusUploadManager(error.name+": "+error.message+" | origin: "+origin+"\n"+error.stack)
|
|
||||||
} catch {this.errorLog.log("info","FAILED TO AUTO-REPORT ERROR! (you can ignore this error)")}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
this.actionRecorder.push({
|
this.actionRecorder.push({
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"ChilledBroke#9986 & M4#5882",
|
"_CREDITS":"ChilledBroke#9986 & M4#5882",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors": {
|
"errors": {
|
||||||
"missingArgsTitle": "قيمة غير صالحة!",
|
"missingArgsTitle": "قيمة غير صالحة!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"DJdj Development",
|
"_CREDITS":"DJdj Development",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Invalid Arguments!",
|
"missingArgsTitle":"Invalid Arguments!",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"spyeye_",
|
"_CREDITS":"spyeye_",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Neplatný Argument!",
|
"missingArgsTitle":"Neplatný Argument!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"the_gamer#5095",
|
"_CREDITS":"the_gamer#5095",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors": {
|
"errors": {
|
||||||
"missingArgsTitle": "Ugyldigt Argument!",
|
"missingArgsTitle": "Ugyldigt Argument!",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"DJj123dj#1706",
|
"_CREDITS":"DJj123dj#1706",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Onjuiste parameters!",
|
"missingArgsTitle":"Onjuiste parameters!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"DJdj Development",
|
"_CREDITS":"DJdj Development",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Invalid Arguments!",
|
"missingArgsTitle":"Invalid Arguments!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"david.#8276 ",
|
"_CREDITS":"david.#8276 ",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Ungültiges Argument!",
|
"missingArgsTitle":"Ungültiges Argument!",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"ꙅoᴎɒᎸɘƚꙅ#3744",
|
"_CREDITS":"ꙅoᴎɒᎸɘƚꙅ#3744",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Invalid Arguments!",
|
"missingArgsTitle":"Invalid Arguments!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Snowy",
|
"_CREDITS":"Snowy",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Hibás paraméterek!",
|
"missingArgsTitle":"Hibás paraméterek!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"erxg",
|
"_CREDITS":"erxg",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Argumen tidak valid!",
|
"missingArgsTitle":"Argumen tidak valid!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Maurizio#0268",
|
"_CREDITS":"Maurizio#0268",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Argomenti non validi!",
|
"missingArgsTitle":"Argomenti non validi!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"NoOneNook#0266",
|
"_CREDITS":"NoOneNook#0266",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Ugyldige argumenter!",
|
"missingArgsTitle":"Ugyldige argumenter!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"MKevas#8311",
|
"_CREDITS":"MKevas#8311",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Nieprawidłowe argumenty!",
|
"missingArgsTitle":"Nieprawidłowe argumenty!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"QuirAddon#9778",
|
"_CREDITS":"QuirAddon#9778",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Argumentos inválidos!",
|
"missingArgsTitle":"Argumentos inválidos!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Sanke#6086",
|
"_CREDITS":"Sanke#6086",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Argumente Invalide",
|
"missingArgsTitle":"Argumente Invalide",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Apexo#0723",
|
"_CREDITS":"Apexo#0723",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Неверные аргументы!",
|
"missingArgsTitle":"Неверные аргументы!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"n1kkec#5341",
|
"_CREDITS":"n1kkec#5341",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Napačen argument!",
|
"missingArgsTitle":"Napačen argument!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Redactado#1673 & josuens14#5267",
|
"_CREDITS":"Redactado#1673 & josuens14#5267",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"¡Argumentos inválidos!",
|
"missingArgsTitle":"¡Argumentos inválidos!",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Mods HD#0661",
|
"_CREDITS":"Mods HD#0661",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"อาร์กิวเมนต์ไม่ถูกต้อง!",
|
"missingArgsTitle":"อาร์กิวเมนต์ไม่ถูกต้อง!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Hydrâelčhâvø#1575",
|
"_CREDITS":"Hydrâelčhâvø#1575",
|
||||||
"_INFO":"This file is a translation for open ticket 3.5.2",
|
"_INFO":"This file is a translation for open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Geçersiz argümanlar!",
|
"missingArgsTitle":"Geçersiz argümanlar!",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_CREDITS":"Anderskiy#4093",
|
"_CREDITS":"Anderskiy#4093",
|
||||||
"_INFO":"Цей файл є перекладом для open ticket 3.5.2",
|
"_INFO":"Цей файл є перекладом для open ticket 3.5.3",
|
||||||
|
|
||||||
"errors":{
|
"errors":{
|
||||||
"missingArgsTitle":"Невірні аргументи!",
|
"missingArgsTitle":"Невірні аргументи!",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "open-ticket",
|
"name": "open-ticket",
|
||||||
"version": "3.5.2",
|
"version": "3.5.3",
|
||||||
"description": "This is an open-source discord ticket bot, you can configure it and it comes with cool features like a transcript.",
|
"description": "This is an open-source discord ticket bot, you can configure it and it comes with cool features like a transcript.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user