Skip to content

Commit

Permalink
fix(MessageAttachment): re-assign name (#6518)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSugden committed Aug 24, 2021
1 parent 839c6da commit 8a8c69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessageAttachment.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8a8c69a

Please sign in to comment.