mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Revert string to bigint
This commit is contained in:
@@ -5,9 +5,9 @@ import type { User } from "../users/user.ts";
|
||||
/** https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-structure */
|
||||
export interface Sticker {
|
||||
/** [Id of the sticker](https://discord.com/developers/docs/reference#image-formatting) */
|
||||
id: bigint;
|
||||
id: string;
|
||||
/** Id of the pack the sticker is from */
|
||||
packId?: bigint;
|
||||
packId?: string;
|
||||
/** Name of the sticker */
|
||||
name: string;
|
||||
/** Description of the sticker */
|
||||
@@ -21,7 +21,7 @@ export interface Sticker {
|
||||
/** Whether or not the sticker is available */
|
||||
available?: boolean;
|
||||
/** Id of the guild that owns this sticker */
|
||||
guildId?: bigint;
|
||||
guildId?: string;
|
||||
/** The user that uploaded the sticker */
|
||||
user?: User;
|
||||
/** A sticker's sort order within a pack */
|
||||
|
||||
@@ -3,7 +3,7 @@ import { StickerFormatTypes } from "./stickerFormatTypes.ts";
|
||||
/** https://discord.com/developers/docs/resources/sticker#sticker-item-object-sticker-item-structure */
|
||||
export interface StickerItem {
|
||||
/** Id of the sticker */
|
||||
id: bigint;
|
||||
id: string;
|
||||
/** Name of the sticker */
|
||||
name: string;
|
||||
/** [Type of sticker format](https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types) */
|
||||
@@ -3,17 +3,17 @@ import { Sticker } from "./sticker.ts";
|
||||
/** https://discord.com/developers/docs/resources/sticker#sticker-pack-object-sticker-pack-structure */
|
||||
export interface StickerPack {
|
||||
/** id of the sticker pack */
|
||||
id: bigint;
|
||||
id: string;
|
||||
/** the stickers in the pack */
|
||||
stickers: Sticker[];
|
||||
/** name of the sticker pack */
|
||||
name: string;
|
||||
/** id of the pack's SKU */
|
||||
sku_id: bigint;
|
||||
sku_id: string;
|
||||
/** id of a sticker in the pack which is shown as the pack's icon */
|
||||
cover_sticker_id?: bigint;
|
||||
cover_sticker_id?: string;
|
||||
/** description of the sticker pack */
|
||||
description: string;
|
||||
/** id of the sticker pack's [banner image](https://discord.com/developers/docs/reference#image-formatting) */
|
||||
banner_asset_id?: bigint;
|
||||
banner_asset_id?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user