diff --git a/deno/rest/v10/mod.ts b/deno/rest/v10/mod.ts index c92dd7261..05842f81a 100644 --- a/deno/rest/v10/mod.ts +++ b/deno/rest/v10/mod.ts @@ -856,6 +856,14 @@ export const Routes = { return '/sticker-packs' as const; }, + /** + * Route for: + * - GET `/sticker-packs/{pack.id}` + */ + stickerPack(packId: Snowflake) { + return `/sticker-packs/${packId}` as const; + }, + /** * Route for: * - GET `/sticker-packs` diff --git a/deno/rest/v10/sticker.ts b/deno/rest/v10/sticker.ts index b8e9c6159..6069e265b 100644 --- a/deno/rest/v10/sticker.ts +++ b/deno/rest/v10/sticker.ts @@ -12,6 +12,11 @@ export interface RESTGetStickerPacksResult { sticker_packs: APIStickerPack[]; } +/** + * https://discord.com/developers/docs/resources/sticker#get-sticker-pack + */ +export type RESTGetAPIStickerPack = APIStickerPack; + /** * https://discord.com/developers/docs/resources/sticker#list-sticker-packs * diff --git a/deno/rest/v9/mod.ts b/deno/rest/v9/mod.ts index 862d98623..deab1427a 100644 --- a/deno/rest/v9/mod.ts +++ b/deno/rest/v9/mod.ts @@ -865,6 +865,14 @@ export const Routes = { return '/sticker-packs' as const; }, + /** + * Route for: + * - GET `/sticker-packs/{pack.id}` + */ + stickerPack(packId: Snowflake) { + return `/sticker-packs/${packId}` as const; + }, + /** * Route for: * - GET `/sticker-packs` diff --git a/deno/rest/v9/sticker.ts b/deno/rest/v9/sticker.ts index 6ca28f2da..606ea2e7b 100644 --- a/deno/rest/v9/sticker.ts +++ b/deno/rest/v9/sticker.ts @@ -12,6 +12,11 @@ export interface RESTGetStickerPacksResult { sticker_packs: APIStickerPack[]; } +/** + * https://discord.com/developers/docs/resources/sticker#get-sticker-pack + */ +export type RESTGetAPIStickerPack = APIStickerPack; + /** * https://discord.com/developers/docs/resources/sticker#list-sticker-packs * diff --git a/rest/v10/index.ts b/rest/v10/index.ts index 880d747aa..80c4b0d0a 100644 --- a/rest/v10/index.ts +++ b/rest/v10/index.ts @@ -856,6 +856,14 @@ export const Routes = { return '/sticker-packs' as const; }, + /** + * Route for: + * - GET `/sticker-packs/{pack.id}` + */ + stickerPack(packId: Snowflake) { + return `/sticker-packs/${packId}` as const; + }, + /** * Route for: * - GET `/sticker-packs` diff --git a/rest/v10/sticker.ts b/rest/v10/sticker.ts index 21f3ab00a..2479bdba7 100644 --- a/rest/v10/sticker.ts +++ b/rest/v10/sticker.ts @@ -12,6 +12,11 @@ export interface RESTGetStickerPacksResult { sticker_packs: APIStickerPack[]; } +/** + * https://discord.com/developers/docs/resources/sticker#get-sticker-pack + */ +export type RESTGetAPIStickerPack = APIStickerPack; + /** * https://discord.com/developers/docs/resources/sticker#list-sticker-packs * diff --git a/rest/v9/index.ts b/rest/v9/index.ts index 8f8a696bd..31df41147 100644 --- a/rest/v9/index.ts +++ b/rest/v9/index.ts @@ -865,6 +865,14 @@ export const Routes = { return '/sticker-packs' as const; }, + /** + * Route for: + * - GET `/sticker-packs/{pack.id}` + */ + stickerPack(packId: Snowflake) { + return `/sticker-packs/${packId}` as const; + }, + /** * Route for: * - GET `/sticker-packs` diff --git a/rest/v9/sticker.ts b/rest/v9/sticker.ts index df27abc6d..8b20500fb 100644 --- a/rest/v9/sticker.ts +++ b/rest/v9/sticker.ts @@ -12,6 +12,11 @@ export interface RESTGetStickerPacksResult { sticker_packs: APIStickerPack[]; } +/** + * https://discord.com/developers/docs/resources/sticker#get-sticker-pack + */ +export type RESTGetAPIStickerPack = APIStickerPack; + /** * https://discord.com/developers/docs/resources/sticker#list-sticker-packs *