mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix(MessageAttachment): re-assign name (#6518)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user