mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(AttachmentBuilder): remove name parameter from constructor (#8008)
This commit is contained in:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -1703,7 +1703,7 @@ export class Message<Cached extends boolean = boolean> extends Base {
|
||||
}
|
||||
|
||||
export class AttachmentBuilder {
|
||||
public constructor(attachment: BufferResolvable | Stream, name?: string, data?: RawAttachmentData);
|
||||
public constructor(attachment: BufferResolvable | Stream, data?: RawAttachmentData);
|
||||
public attachment: BufferResolvable | Stream;
|
||||
public description: string | null;
|
||||
public name: string | null;
|
||||
|
||||
Reference in New Issue
Block a user