This commit is contained in:
Mirco Wittrien 2021-06-14 15:24:55 +02:00
parent a0e03d99ae
commit 8d4b9e20b3
3 changed files with 18 additions and 8 deletions

View File

@ -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);

View File

@ -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"
};
}
}

View File

@ -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));
}