mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
feat(MessageAttachment): add spoiler property (#3561)
* feat(MessageAttachment): add spoiler property * typings * Implement suggestions * Make readonly Co-Authored-By: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1006,6 +1006,7 @@ declare module 'discord.js' {
|
||||
public size: number;
|
||||
public url: string;
|
||||
public width: number | null;
|
||||
public readonly spoiler: boolean;
|
||||
public setFile(attachment: BufferResolvable | Stream, name?: string): this;
|
||||
public setName(name: string): this;
|
||||
public toJSON(): object;
|
||||
|
||||
Reference in New Issue
Block a user