typings(Attachment): make attachment private (#8982)

* typings(Attachment): remove attachment property

* remove from structures

* Revert "remove from structures"

This reverts commit 88acb8d276.

* typings(attachment): make attachment private

---------

Co-authored-by: space <spaceeec@yahoo.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
net-tech
2023-02-17 22:52:51 +01:00
committed by GitHub
parent 76b21162ac
commit da23cd5d69

View File

@@ -1988,7 +1988,7 @@ export class AttachmentBuilder {
export class Attachment {
private constructor(data: APIAttachment);
public attachment: BufferResolvable | Stream;
private attachment: BufferResolvable | Stream;
public contentType: string | null;
public description: string | null;
public ephemeral: boolean;