mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
fix(MessageAttachment): re-assign name (#6518)
This commit is contained in:
@@ -53,7 +53,7 @@ class MessageAttachment {
|
|||||||
|
|
||||||
if (!spoiler) {
|
if (!spoiler) {
|
||||||
while (this.spoiler) {
|
while (this.spoiler) {
|
||||||
this.name.slice('SPOILER_'.length);
|
this.name = this.name.slice('SPOILER_'.length);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user