diff --git a/Plugins/ChatAliases/ChatAliases.plugin.js b/Plugins/ChatAliases/ChatAliases.plugin.js index a1e204f51a..53306fa68d 100644 --- a/Plugins/ChatAliases/ChatAliases.plugin.js +++ b/Plugins/ChatAliases/ChatAliases.plugin.js @@ -15,7 +15,7 @@ class ChatAliases { getDescription () {return "Allows the user to configure their own chat-aliases which will automatically be replaced before the message is being sent.";} - getVersion () {return "1.9.0";} + getVersion () {return "1.9.1";} getAuthor () {return "DevilBro";} @@ -27,7 +27,7 @@ class ChatAliases { settingshtml += `

${this.defaults.settings[key].description}

`; } settingshtml += `

Replace:

With:

`; - settingshtml += `

List of Chataliases:

`; + settingshtml += `

List of Chataliases:

`; for (let config of this.configs) { settingshtml += `
${config.toUpperCase()}
`; } @@ -43,8 +43,8 @@ class ChatAliases { settingshtml += `
`; settingshtml += `

Remove all added words.

`; var infoHidden = BDFDB.loadData("hideInfo", this, "hideInfo"); - settingshtml += `
Information
`; - settingshtml += `
Case: Will replace words while comparing lowercase/uppercase. apple => apple, not APPLE or AppLe
Not Case: Will replace words while ignoring lowercase/uppercase. apple => apple, APPLE and AppLe
Exact: Will replace words that are exactly the replaceword. apple to pear => applepie stays applepie
Not Exact: Will replace words anywhere they appear. apple to pear => applepieapple to pearpiepear
Autoc: Will appear in the Autocomplete Menu (if enabled).
Regex: Will treat the entered wordvalue as a regular expression. Help
File: If the replacevalue is a filepath it will try to upload the file located at the filepath.
`; + settingshtml += `
Information
`; + settingshtml += `
Case: Will replace words while comparing lowercase/uppercase. apple => apple, not APPLE or AppLe
Not Case: Will replace words while ignoring lowercase/uppercase. apple => apple, APPLE and AppLe
Exact: Will replace words that are exactly the replaceword. apple to pear => applepie stays applepie
Not Exact: Will replace words anywhere they appear. apple to pear => applepieapple to pearpiepear
Autoc: Will appear in the Autocomplete Menu (if enabled).
Regex: Will treat the entered wordvalue as a regular expression. Help
File: If the replacevalue is a filepath it will try to upload the file located at the filepath.
`; settingshtml += `
`; var settingspanel = $(settingshtml)[0]; @@ -94,7 +94,7 @@ class ChatAliases { (change, i) => { if (change.removedNodes) { change.removedNodes.forEach((node) => { - if (node && node.tagName && node.getAttribute("layer-id") == "user-settings") { + if (node.tagName && node.getAttribute("layer-id") == "user-settings") { document.querySelectorAll("textarea" + BDFDB.dotCN.textarea).forEach(textarea => {this.bindEventToTextArea(textarea);}); } }); @@ -109,7 +109,7 @@ class ChatAliases { (change, i) => { if (change.addedNodes) { change.addedNodes.forEach((node) => { - if (node && node.tagName && node.querySelector(BDFDB.dotCN.textareainner + ":not(" + BDFDB.dotCN.textareainnerdisabled + ")")) { + if (node.tagName && node.querySelector(BDFDB.dotCN.textareainner + ":not(" + BDFDB.dotCN.textareainnerdisabled + ")")) { this.bindEventToTextArea(node.querySelector("textarea")); } }); @@ -255,7 +255,7 @@ class ChatAliases { ele.classList.toggle(BDFDB.disCN.categorywrappercollapsed); ele.classList.toggle(BDFDB.disCN.categorywrapperdefault); var svg = ele.querySelector(BDFDB.dotCN.categoryicontransition); - svg.classList.toggle(BDFDB.disCN.closed); + svg.classList.toggle(BDFDB.disCN.directionright); svg.classList.toggle(BDFDB.disCN.categoryiconcollapsed); svg.classList.toggle(BDFDB.disCN.categoryicondefault); diff --git a/Plugins/ChatFilter/ChatFilter.plugin.js b/Plugins/ChatFilter/ChatFilter.plugin.js index 6f6163d9c7..a60851d003 100644 --- a/Plugins/ChatFilter/ChatFilter.plugin.js +++ b/Plugins/ChatFilter/ChatFilter.plugin.js @@ -32,7 +32,7 @@ class ChatFilter { getDescription () {return "Allows the user to censor words or block complete messages based on words in the chatwindow.";} - getVersion () {return "3.2.7";} + getVersion () {return "3.2.8";} getAuthor () {return "DevilBro";} @@ -65,7 +65,7 @@ class ChatFilter { settingshtml += `
`; } var infoHidden = BDFDB.loadData("hideInfo", this, "hideInfo"); - settingshtml += `
Information
`; + settingshtml += `
Information
`; settingshtml += `
Case: Will block/censor words while comparing lowercase/uppercase. apple => apple, not APPLE or AppLe
Not Case: Will block/censor words while ignoring lowercase/uppercase. apple => apple, APPLE and AppLe
Exact: Will block/censor words that are exactly the selected word. apple => apple, not applepie or pineapple
Not Exact: Will block/censor all words containing the selected word. apple => apple, applepie and pineapple
Empty: Ignores the default and set replace word and removes the word/message instead.
`; settingshtml += `
`; @@ -121,7 +121,7 @@ class ChatFilter { } if (change.addedNodes) { change.addedNodes.forEach((node) => { - if (node && node.tagName && node.classList.contains(BDFDB.disCN.message)) this.hideMessage(node.querySelector(BDFDB.dotCN.messagemarkup)); + if (node.tagName && node.classList.contains(BDFDB.disCN.message)) this.hideMessage(node.querySelector(BDFDB.dotCN.messagemarkup)); }); } } @@ -134,7 +134,7 @@ class ChatFilter { (change, i) => { if (change.addedNodes) { change.addedNodes.forEach((node) => { - if (node && node.tagName && node.querySelector(BDFDB.dotCN.message)) { + if (node.tagName && node.querySelector(BDFDB.dotCN.message)) { BDFDB.addObserver(this, node, {name:"messageChangeObserver",multi:true}, {childList:true, characterData:true, subtree:true}); node.querySelectorAll(BDFDB.dotCNC.messagemarkup + BDFDB.dotCN.messageaccessory).forEach(message => { this.hideMessage(message); @@ -278,7 +278,7 @@ class ChatFilter { ele.classList.toggle(BDFDB.disCN.categorywrappercollapsed); ele.classList.toggle(BDFDB.disCN.categorywrapperdefault); var svg = ele.querySelector(BDFDB.dotCN.categoryicontransition); - svg.classList.toggle(BDFDB.disCN.closed); + svg.classList.toggle(BDFDB.disCN.directionright); svg.classList.toggle(BDFDB.disCN.categoryiconcollapsed); svg.classList.toggle(BDFDB.disCN.categoryicondefault); diff --git a/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js b/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js index b9cf5818c3..86ca521362 100644 --- a/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js +++ b/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js @@ -30,7 +30,7 @@ class CompleteTimestamps { getDescription () {return "Replace all timestamps with complete timestamps.";} - getVersion () {return "1.2.6";} + getVersion () {return "1.2.7";} getAuthor () {return "DevilBro";} @@ -50,7 +50,7 @@ class CompleteTimestamps { settingshtml += `

${this.defaults.formats[key].description}

`; } var infoHidden = BDFDB.loadData("hideInfo", this, "hideInfo"); - settingshtml += `
Information
`; + settingshtml += `
Information
`; settingshtml += `
`; settingshtml += `
$hour will be replaced with the current hour
$minute will be replaced with the current minutes
$second will be replaced with the current seconds
$msecond will be replaced with the current milliseconds
$timemode will change $hour to a 12h format and will be replaced with AM/PM
$year will be replaced with the current year
$month will be replaced with the current month
$day will be replaced with the current day
$monthnameL will be replaced with the monthname in long format based on the Discord Language
$monthnameS will be replaced with the monthname in short format based on the Discord Language
$weekdayL will be replaced with the weekday in long format based on the Discord Language
$weekdayS will be replaced with the weekday in short format based on the Discord Language
`; settingshtml += `
`; @@ -115,7 +115,7 @@ class CompleteTimestamps { (change, i) => { if (change.removedNodes) { change.removedNodes.forEach((node) => { - if (this.updateTimestamps && node && node.tagName && node.getAttribute("layer-id") == "user-settings") { + if (this.updateTimestamps && node.tagName && node.getAttribute("layer-id") == "user-settings") { this.setMaxWidth(); document.querySelectorAll(".complete-timestamp").forEach(timestamp => {timestamp.classList.remove("complete-timestamp");}); document.querySelectorAll("time").forEach(stamp => {this.changeTimestamp(stamp);}) @@ -212,7 +212,7 @@ class CompleteTimestamps { ele.classList.toggle(BDFDB.disCN.categorywrappercollapsed); ele.classList.toggle(BDFDB.disCN.categorywrapperdefault); var svg = ele.querySelector(BDFDB.dotCN.categoryicontransition); - svg.classList.toggle(BDFDB.disCN.closed); + svg.classList.toggle(BDFDB.disCN.directionright); svg.classList.toggle(BDFDB.disCN.categoryiconcollapsed); svg.classList.toggle(BDFDB.disCN.categoryicondefault); diff --git a/Plugins/SendLargeMessages/SendLargeMessages.plugin.js b/Plugins/SendLargeMessages/SendLargeMessages.plugin.js index a4cca5bb0b..4aa71584a4 100644 --- a/Plugins/SendLargeMessages/SendLargeMessages.plugin.js +++ b/Plugins/SendLargeMessages/SendLargeMessages.plugin.js @@ -14,9 +14,7 @@ class SendLargeMessages { resize: none; } .sendlargemessages-modal #warning-message { - font-weight: bold; color: red; - opacity: 1; } .sendlargemessages-modal #character-counter { @@ -43,12 +41,12 @@ class SendLargeMessages { -
+
-
-
+
+
-
+