fix(StickerPack): Nullify bannerId (#7119)

This commit is contained in:
Jiralite
2021-12-21 08:16:30 +00:00
committed by GitHub
parent 645b3f84f4
commit 6bb03f2c34
2 changed files with 6 additions and 6 deletions

4
typings/index.d.ts vendored
View File

@@ -2102,7 +2102,7 @@ export class StickerPack extends Base {
private constructor(client: Client, data: RawStickerPackData);
public readonly createdTimestamp: number;
public readonly createdAt: Date;
public bannerId: Snowflake;
public bannerId: Snowflake | null;
public readonly coverSticker: Sticker | null;
public coverStickerId: Snowflake | null;
public description: string;
@@ -2110,7 +2110,7 @@ export class StickerPack extends Base {
public name: string;
public skuId: Snowflake;
public stickers: Collection<Snowflake, Sticker>;
public bannerURL(options?: StaticImageURLOptions): string;
public bannerURL(options?: StaticImageURLOptions): string | null;
}
/** @deprecated See [Self-serve Game Selling Deprecation](https://support-dev.discord.com/hc/en-us/articles/4414590563479) for more information */