From 66ccf6ceaca32a78e6fcbc32d5e01d2931dd74db Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 28 Jul 2021 17:56:44 +0200 Subject: [PATCH] stuff --- Plugins/CharCounter/CharCounter.plugin.js | 7 ++++--- Plugins/ChatAliases/ChatAliases.plugin.js | 12 ++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Plugins/CharCounter/CharCounter.plugin.js b/Plugins/CharCounter/CharCounter.plugin.js index 0a14bc8115..a6c694b57f 100644 --- a/Plugins/CharCounter/CharCounter.plugin.js +++ b/Plugins/CharCounter/CharCounter.plugin.js @@ -2,7 +2,7 @@ * @name CharCounter * @author DevilBro * @authorId 278543574059057154 - * @version 1.5.4 + * @version 1.5.5 * @description Adds a Character Counter to most Inputs * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,12 +17,12 @@ module.exports = (_ => { "info": { "name": "CharCounter", "author": "DevilBro", - "version": "1.5.4", + "version": "1.5.5", "description": "Adds a Character Counter to most Inputs" }, "changeLog": { "improved": { - "Nitro Max Message Length": "Now uses 4000 as Max Limit when the user has the permissions to" + "Threads": "Works flawlessly with Threads now" } } }; @@ -81,6 +81,7 @@ module.exports = (_ => { }; const typeMap = { normal: "chat", + sidebar: "chat", form: "upload" }; diff --git a/Plugins/ChatAliases/ChatAliases.plugin.js b/Plugins/ChatAliases/ChatAliases.plugin.js index cc2b53487b..df2233cc3f 100644 --- a/Plugins/ChatAliases/ChatAliases.plugin.js +++ b/Plugins/ChatAliases/ChatAliases.plugin.js @@ -2,7 +2,7 @@ * @name ChatAliases * @author DevilBro * @authorId 278543574059057154 - * @version 2.3.2 + * @version 2.3.3 * @description Allows you to configure your own Aliases/Commands * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,12 +17,12 @@ module.exports = (_ => { "info": { "name": "ChatAliases", "author": "DevilBro", - "version": "2.3.2", + "version": "2.3.3", "description": "Allows you to configure your own Aliases/Commands" }, "changeLog": { "improved": { - "Autocomplete Menu": "" + "Threads": "Works flawlessly with Threads now" } } }; @@ -390,19 +390,19 @@ module.exports = (_ => { } processChannelTextAreaForm (e) { - if (!BDFDB.PatchUtils.isPatched(this, e.instance, "handleSendMessage")) BDFDB.PatchUtils.patch(this, e.instance, "handleSendMessage", {before: e2 => { + BDFDB.PatchUtils.patch(this, e.instance, "handleSendMessage", {before: e2 => { if (this.settings.places.normal) this.handleSubmit(e, e2, 0); }}, {force: true, noCache: true}); } processMessageEditor (e) { - if (!BDFDB.PatchUtils.isPatched(this, e.instance, "onSubmit")) BDFDB.PatchUtils.patch(this, e.instance, "onSubmit", {before: e2 => { + BDFDB.PatchUtils.patch(this, e.instance, "onSubmit", {before: e2 => { if (this.settings.places.edit) this.handleSubmit(e, e2, 0); }}, {force: true, noCache: true}); } processUpload (e) { - if (!BDFDB.PatchUtils.isPatched(this, e.instance, "submitUpload")) BDFDB.PatchUtils.patch(this, e.instance, "submitUpload", {before: e2 => { + BDFDB.PatchUtils.patch(this, e.instance, "submitUpload", {before: e2 => { if (this.settings.places.upload) this.handleSubmit(e, e2, 1); }}, {force: true, noCache: true}); }