#9634 djs
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -3260,14 +3260,17 @@ export class User extends PartialTextBasedChannel(Base) {
|
||||
public readonly relationships: RelationshipTypes;
|
||||
public readonly createdTimestamp: number;
|
||||
public discriminator: string;
|
||||
public readonly displayName: string;
|
||||
public readonly defaultAvatarURL: string;
|
||||
public readonly dmChannel: DMChannel | null;
|
||||
public flags: Readonly<UserFlags> | null;
|
||||
public globalName: string | null;
|
||||
public botInGuildsCount: number | null | undefined;
|
||||
public readonly hexAccentColor: HexColorString | null | undefined;
|
||||
public id: Snowflake;
|
||||
public readonly partial: false;
|
||||
public system: boolean;
|
||||
/** @deprecated Use {@link User#username} instead. */
|
||||
public readonly tag: string;
|
||||
public username: string;
|
||||
public readonly note: string | null;
|
||||
@@ -3363,6 +3366,7 @@ export class Util extends null {
|
||||
public static splitMessage(text: string, options?: SplitOptions): string[];
|
||||
/** @deprecated This will be removed in the next major version. */
|
||||
public static resolveAutoArchiveMaxLimit(guild: Guild): Exclude<ThreadAutoArchiveDuration, 60>;
|
||||
public static calculateUserDefaultAvatarIndex(userId: Snowflake): number;
|
||||
}
|
||||
|
||||
export class Formatters extends null {
|
||||
@@ -3658,7 +3662,7 @@ export const Constants: {
|
||||
dynamic: boolean,
|
||||
): string;
|
||||
Banner(id: Snowflake, hash: string, format: DynamicImageFormat, size: AllowedImageSize, dynamic: boolean): string;
|
||||
DefaultAvatar(discriminator: number): string;
|
||||
DefaultAvatar(index: number): string;
|
||||
DiscoverySplash(guildId: Snowflake, hash: string, format: AllowedImageFormat, size: AllowedImageSize): string;
|
||||
Emoji(emojiId: Snowflake, format: DynamicImageFormat): string;
|
||||
GDMIcon(channelId: Snowflake, hash: string, format: AllowedImageFormat, size: AllowedImageSize): string;
|
||||
|
||||
Reference in New Issue
Block a user