summary refs log tree commit diff
path: root/src/schemas/api/guilds/Sticker.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-17 02:36:54 +0100
committerRory& <root@rory.gay>2026-03-17 02:36:54 +0100
commitecea5540fa39a117055caa96c8b3d78b998da9e6 (patch)
tree40739e4f57389d8e26aa0f8fbeca29454a6d25f4 /src/schemas/api/guilds/Sticker.ts
parentColor coded logging for missing request/response schemas in openapi (diff)
downloadserver-ts-ecea5540fa39a117055caa96c8b3d78b998da9e6.tar.xz
Schemas for stickers
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,