fix(MessageAttachment): re-assign name (#6518)

This commit is contained in:
Sugden
2021-08-24 21:32:56 +01:00
committed by GitHub
parent 839c6da03d
commit 8a8c69a257

View File

@@ -53,7 +53,7 @@ class MessageAttachment {
if (!spoiler) {
while (this.spoiler) {
this.name.slice('SPOILER_'.length);
this.name = this.name.slice('SPOILER_'.length);
}
return this;
}