summary refs log tree commit diff
path: root/src/schemas/api/guilds/Sticker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/api/guilds/Sticker.ts')
-rw-r--r--src/schemas/api/guilds/Sticker.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/schemas/api/guilds/Sticker.ts b/src/schemas/api/guilds/Sticker.ts

index 116d72f9..212baadc 100644 --- a/src/schemas/api/guilds/Sticker.ts +++ b/src/schemas/api/guilds/Sticker.ts
@@ -1,3 +1,23 @@ +import { Snowflake } from "../../Identifiers"; +import { PartialUser } from "../users"; + +export type StickersResponse = StickerResponse[]; +export interface StickerResponse { + id: Snowflake; + pack_id?: Snowflake; + name: string; + description: string | null; + tags: string; + type: StickerType; + format_type: StickerFormatType; + available?: boolean; + guild_id?: Snowflake; + // Only filled for Get Guild Sticker(/s) + user?: PartialUser; + // Only filled in for sticker packs + sort_value?: number; +} + export enum StickerType { STANDARD = 1, GUILD = 2,