types(AttachmentBuilder): remove name parameter from constructor (#8008)

This commit is contained in:
n1ck_pro
2022-06-05 22:37:01 +02:00
committed by GitHub
parent 9720e55534
commit 6266b0c1e3

View File

@@ -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;