From 8d4b9e20b3d5c3cf3c8ff9eb26c2275a7e16df47 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 14 Jun 2021 15:24:55 +0200 Subject: [PATCH] stuff --- Plugins/CharCounter/CharCounter.plugin.js | 8 ++++---- Plugins/SendLargeMessages/SendLargeMessages.plugin.js | 8 ++++---- Themes/BlurpleRecolor/BlurpleRecolor.css | 10 ++++++++++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/Plugins/CharCounter/CharCounter.plugin.js b/Plugins/CharCounter/CharCounter.plugin.js index 10cd8953de..772403a5f6 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.3 + * @version 1.5.4 * @description Adds a Character Counter to most Inputs * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,11 +17,11 @@ module.exports = (_ => { "info": { "name": "CharCounter", "author": "DevilBro", - "version": "1.5.3", + "version": "1.5.4", "description": "Adds a Character Counter to most Inputs" }, "changeLog": { - "fixed": { + "improved": { "Nitro Max Message Length": "Now uses 4000 as Max Limit when the user has the permissions to" } } @@ -180,7 +180,7 @@ module.exports = (_ => { className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN._charcountercounter, type && BDFDB.disCN[`_charcounter${typeMap[type] || type}counter`]), refClass: refClass, parsing: parsing, - max: maxLengths[type] || (BDFDB.LibraryModules.NitroUtils.canUseIncreasedMessageLength() && BDFDB.DiscordUtils.getExperiment("premiumContentLengthAvailable") ? BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH_PREMIUM : BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH), + max: maxLengths[type] || (BDFDB.LibraryModules.NitroUtils.canUseIncreasedMessageLength(BDFDB.UserUtils.me) ? BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH_PREMIUM : BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH), onChange: instance => { let node = BDFDB.ReactUtils.findDOMNode(instance); let form = node && BDFDB.DOMUtils.getParent(BDFDB.dotCN.chatform, node); diff --git a/Plugins/SendLargeMessages/SendLargeMessages.plugin.js b/Plugins/SendLargeMessages/SendLargeMessages.plugin.js index 569d6aeb00..11676f0ea6 100644 --- a/Plugins/SendLargeMessages/SendLargeMessages.plugin.js +++ b/Plugins/SendLargeMessages/SendLargeMessages.plugin.js @@ -2,7 +2,7 @@ * @name SendLargeMessages * @author DevilBro * @authorId 278543574059057154 - * @version 1.6.7 + * @version 1.6.8 * @description Allows you to enter larger Messages, which will automatically split into several smaller Messages * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,7 +17,7 @@ module.exports = (_ => { "info": { "name": "SendLargeMessages", "author": "DevilBro", - "version": "1.6.7", + "version": "1.6.8", "description": "Allows you to enter larger Messages, which will automatically split into several smaller Messages" }, "changeLog": { @@ -88,7 +88,7 @@ module.exports = (_ => { } onStart () { - maxMessageLength = BDFDB.LibraryModules.NitroUtils.canUseIncreasedMessageLength() && BDFDB.DiscordUtils.getExperiment("premiumContentLengthAvailable") ? BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH_PREMIUM : BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH; + maxMessageLength = BDFDB.LibraryModules.NitroUtils.canUseIncreasedMessageLength(BDFDB.UserUtils.me) ? BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH_PREMIUM : BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH; BDFDB.PatchUtils.forceAllUpdates(this); } @@ -322,7 +322,7 @@ module.exports = (_ => { }; default: // English return { - toast_allsent: "All messages sent" + toast_allsent: "All Messages sent" }; } } diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 82bf91602a..c34067ff2e 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -2219,6 +2219,16 @@ a.metadataName-14STf- { border-top-color: rgb(var(--accentcolor)); } +.root-sJwU_u { + background: rgb(255, 255, 255) linear-gradient(135deg, rgb(var(--accentcolor2)), rgba(var(--accentcolor2), 0.5)); +} +.root-sJwU_u::after { + border-right-color: rgb(var(--accentcolor2)); +} +.root-sJwU_u .lookFilled-1Gx00P.colorWhite-rEQuAQ { + color: rgb(var(--accentcolor2)); +} + .content-3O0wBS { background-color: rgb(var(--accentcolor)); }