From aab5a9c241939bed2f188ee078d944266361957b Mon Sep 17 00:00:00 2001 From: DJj123dj <80536295+DJj123dj@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:19:54 +0200 Subject: [PATCH 1/3] removed the "hoi" bug --- core/checker.js | 1 - storage/.DS_Store | Bin 6148 -> 6148 bytes 2 files changed, 1 deletion(-) diff --git a/core/checker.js b/core/checker.js index 83e6e6a1..5be5977d 100644 --- a/core/checker.js +++ b/core/checker.js @@ -301,7 +301,6 @@ exports.checker = async () => { if (!["normal","adminonly"].includes(config.system.closeMode)){ createError("'system/closeMode' | the close mode must be adminonly or normal") } - console.log("hoi") checkType(config.system.enable_transcript,"boolean","system/enable_transcript") checkType(config.system.enable_DM_transcript,"boolean","system/enable_DM_transcript") diff --git a/storage/.DS_Store b/storage/.DS_Store index 8fa40220b6cea4f4c056512754aaa9505d535e27..9a48ed155612ac263b3278c6965b01a5b6f5b1de 100644 GIT binary patch delta 168 zcmZoMXfc@J&&a+pU^g=(`(_@ND@^q{>4w3{`MCuQ5a0!*I2lqHDjD(^5*czCG8vK? zTo{~k^Icq$a`KaavK&9OR9Lc1jyU2{nL?z>f()R|+;FQC7$%=$o4c8v<1aq|^du)Q delta 35 rcmZoMXfc@J&&a$nU^g=(^W+a~Vw;s%_AyOvU~iw;uwXMg$6tN`)Z7eb From 702f22598333ea949fc2f385b7af522079401b60 Mon Sep 17 00:00:00 2001 From: DJj123dj <80536295+DJj123dj@users.noreply.github.com> Date: Tue, 28 Jun 2022 08:43:14 +0200 Subject: [PATCH 2/3] fixed the "startsWith" bug --- index.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/index.js b/index.js index a5cdde57..6e68619e 100644 --- a/index.js +++ b/index.js @@ -44,6 +44,21 @@ const log = this.errorLog.log client.on('ready',async () => { const chalk = await (await import("chalk")).default + if (!process.argv[2]){ + console.log(chalk.red("WELCOME TO OPEN TICKET!")) + log("info","open ticket ready",[{key:"version",value:require("./package.json").version},{key:"language",value:config.languagefile}]) + + console.log(chalk.blue("\n\nlogs:")+"\n============") + if (config.status.enabled){ + client.user.setActivity(config.status.text,{type:config.status.type}) + } + + log("system","bot logged in!") + + await client.guilds.cache.find((g) => g.id == config.server_id).members.fetch() + return + } + if (!process.argv[2].startsWith("slash")){ console.log(chalk.red("WELCOME TO OPEN TICKET!")) log("info","open ticket ready",[{key:"version",value:require("./package.json").version},{key:"language",value:config.languagefile}]) From 5f5699f1605208a0558541877dd39bb5365bec75 Mon Sep 17 00:00:00 2001 From: DJj123dj <80536295+DJj123dj@users.noreply.github.com> Date: Tue, 28 Jun 2022 11:52:55 +0200 Subject: [PATCH 3/3] v2.1.1 last push --- README.md | 6 +++--- config.json | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b2f5e322..d54d5940 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![open moderation](./openmod.png)](https://www.dj-dj.be/projects/open-moderation) # 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-2.1.0%20stable-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v2.1.0) [![npm](https://img.shields.io/badge/npm-external%20libraries%20needed-CB3837.svg?style=flat-square&logo=npm)](#packages) [![license](https://img.shields.io/badge/license-GPL%203.0-important.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) +[![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-2.1.1%20stable-brightgreen.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/releases/tag/v2.1.1) [![npm](https://img.shields.io/badge/npm-external%20libraries%20needed-CB3837.svg?style=flat-square&logo=npm)](#packages) [![license](https://img.shields.io/badge/license-GPL%203.0-important.svg?style=flat-square)](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE) This is an open-source discord ticket bot, you can configure it and it comes with cool features like transcripts & custom options! @@ -46,7 +46,7 @@ if there are any errors, you can open an **issue on github** or **contact me in ### config Our config documentation is moved to another file: -[click here to view](https://www.github.com/DJj123dj/open-ticket/wiki/config-v2.1.0) +[click here to view](https://www.github.com/DJj123dj/open-ticket/wiki/config-v2.1.1) ### intents & permissions In the discord developer portal in the "bot" panel you will find 3 switches under the title "Gateaway Intents". The following switches should always be turned on @@ -58,7 +58,7 @@ You can also configure your own permissions ## information -_v2.1.0 unstable_ +_v2.1.1 stable_ changelog: [click here](https://www.github.com/DJj123dj/open-ticket/wiki/Changelog) diff --git a/config.json b/config.json index 2c1fa3e1..4975902e 100644 --- a/config.json +++ b/config.json @@ -79,7 +79,7 @@ "name":"Choose Your Ticket", "description":"You can click one of the buttons below!\nYou can also customize all the embeds now!", "enableFooter":true, - "footer":"Open Ticket v2.1.0 - I'm a footer!", + "footer":"Open Ticket v2.1.1 - I'm a footer!", "enableThumbnail":false, "thumbnail":"https://www.example.com/catmemes/cat.png", "color":"#ffffff", diff --git a/package.json b/package.json index ed064d80..bbe1d7ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-ticket", - "version": "2.1.0", + "version": "2.1.1", "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", "scripts": {