yor.ts / Exports / Sticker

Class: Sticker

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new Sticker(client, data): Sticker

Represents a sticker on the Discord platform.

Parameters

NameTypeDescription
clientYorClientThe YorClient instance.
dataAPIStickerThe APISticker object.

Returns

Sticker

Overrides

Base.constructor

Defined in

src/structures/Sticker.ts:22

Properties

available

Optional available: boolean

Defined in

src/structures/Sticker.ts:14


client

client: YorClient

Inherited from

Base.client

Defined in

src/structures/Base.ts:4


creator

Optional creator: User

Defined in

src/structures/Sticker.ts:13


id

id: string

Defined in

src/structures/Sticker.ts:9


name

name: string

Defined in

src/structures/Sticker.ts:10


raw

raw: APISticker

Defined in

src/structures/Sticker.ts:8


tags

Optional tags: string

Defined in

src/structures/Sticker.ts:11


type

Optional type: StickerType

Defined in

src/structures/Sticker.ts:12

Was this page helpful?