Update SplitLargeMessages.plugin.js
This commit is contained in:
parent
b32c8c85c9
commit
2aa5956d7e
|
@ -90,8 +90,6 @@ module.exports = (_ => {
|
|||
onStart () {
|
||||
maxMessageLength = BDFDB.LibraryModules.NitroUtils.canUseIncreasedMessageLength(BDFDB.LibraryStores.UserStore.getCurrentUser()) ? BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH_PREMIUM : BDFDB.DiscordConstants.MAX_MESSAGE_LENGTH;
|
||||
|
||||
console.log(this.settings.amounts.splitCounter);
|
||||
|
||||
BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.ChatRestrictionUtils, "applyChatRestrictions", {before: e => {
|
||||
if (e.methodArguments[0] && e.methodArguments[0].content && !this.isSlowDowned(e.methodArguments[0].channel)) e.methodArguments[0].content = "_";
|
||||
}});
|
||||
|
|
Loading…
Reference in New Issue