This commit is contained in:
Mirco Wittrien 2020-08-21 20:23:59 +02:00
parent d8b8242f69
commit c60ee23b36
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ var CustomQuoter = (_ => {
return class CustomQuoter {
getName () {return "CustomQuoter";}
getVersion () {return "1.1.3";}
getVersion () {return "1.1.4";}
getAuthor () {return "DevilBro";}
@ -47,6 +47,7 @@ var CustomQuoter = (_ => {
constructor () {
this.changelog = {
"fixed":[["Multi Spaces","No longer removes multi spaces from quotes"]],
"added":[["$rawQuote","Ability to insert the raw text of the quoted message"]]
};
}
@ -365,8 +366,7 @@ var CustomQuoter = (_ => {
.replace("$month", settings.forceZeros && month < 10 ? "0" + month : month)
.replace("$year", timestamp.getFullYear())
.replace("$quote", quotedLines || "")
.replace("$rawQuote", unquotedLines.join("\n") || "")
.split(" ").filter(n => n).join(" ");
.replace("$rawQuote", unquotedLines.join("\n") || "");
}
addLeadingZeros (timestring) {