chore: PR lint
This commit is contained in:
parent
8d50ae55e7
commit
36873e08ee
@ -67,8 +67,8 @@ public class ProxiedMessage
|
|||||||
// If no flag is supplied, the new contents will completly overwrite the old contents
|
// If no flag is supplied, the new contents will completly overwrite the old contents
|
||||||
// If both flags are specified. the message will be prepended AND appended
|
// If both flags are specified. the message will be prepended AND appended
|
||||||
if (append && prepend) newContent = $"{newContent} {originalContent} {newContent}";
|
if (append && prepend) newContent = $"{newContent} {originalContent} {newContent}";
|
||||||
else if (append) newContent = originalContent +" "+ newContent;
|
else if (append) newContent = originalContent + " " + newContent;
|
||||||
else if (prepend) newContent = newContent +" "+ originalContent;
|
else if (prepend) newContent = newContent + " " + originalContent;
|
||||||
|
|
||||||
if (newContent.Length > 2000)
|
if (newContent.Length > 2000)
|
||||||
throw new PKError("PluralKit cannot proxy messages over 2000 characters in length.");
|
throw new PKError("PluralKit cannot proxy messages over 2000 characters in length.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user