mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
feat(types): add available, guildId, user, sortValue to MessageSticker (#1052)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { DiscordMessageStickerFormatTypes } from "./message_sticker_format_types.ts";
|
||||
import type { User } from "../users/user.ts";
|
||||
|
||||
/** https://discord.com/developers/docs/resources/channel#message-object-message-sticker-structure */
|
||||
export interface MessageSticker {
|
||||
@@ -19,4 +20,12 @@ export interface MessageSticker {
|
||||
asset: string;
|
||||
/** Type of sticker format */
|
||||
formatType: DiscordMessageStickerFormatTypes;
|
||||
/** Whether or not the sticker is available */
|
||||
available?: boolean;
|
||||
/** Id of the guild that owns this sticker */
|
||||
guildId?: string;
|
||||
/** The user that uploaded the sticker */
|
||||
user?: User;
|
||||
/** A sticker's sort order within a pack */
|
||||
sortValue?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user