diff --git a/fluxer_api/src/api/guild/GuildModel.ts b/fluxer_api/src/api/guild/GuildModel.ts index 9dd7d34c3..f7b24d012 100644 --- a/fluxer_api/src/api/guild/GuildModel.ts +++ b/fluxer_api/src/api/guild/GuildModel.ts @@ -116,6 +116,7 @@ export function mapGuildEmojiToResponse(emoji: GuildEmoji): z.infer; @@ -16,6 +17,7 @@ export const GuildEmojiWithUserResponse = z.object({ id: SnowflakeStringType.describe('The unique identifier for this emoji'), name: z.string().describe('The name of the emoji'), animated: z.boolean().describe('Whether this emoji is animated'), + nsfw: z.boolean().describe('Deprecated; always false. Retained for compatibility with older clients'), user: z.lazy(() => UserPartialResponse).describe('The user who uploaded this emoji'), }); @@ -27,6 +29,7 @@ export const GuildStickerResponse = z.object({ description: z.string().describe('The description of the sticker'), tags: z.array(z.string()).max(100).describe('Autocomplete/suggestion tags for the sticker'), animated: z.boolean().describe('Whether this sticker is animated'), + nsfw: z.boolean().describe('Deprecated; always false. Retained for compatibility with older clients'), }); export type GuildStickerResponse = z.infer; @@ -37,6 +40,7 @@ export const GuildStickerWithUserResponse = z.object({ description: z.string().describe('The description of the sticker'), tags: z.array(z.string()).max(100).describe('Autocomplete/suggestion tags for the sticker'), animated: z.boolean().describe('Whether this sticker is animated'), + nsfw: z.boolean().describe('Deprecated; always false. Retained for compatibility with older clients'), user: z.lazy(() => UserPartialResponse).describe('The user who uploaded this sticker'), });