You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

calculateUserDefaultAvatarIndex

export declare function calculateUserDefaultAvatarIndex(userId: Snowflake): number;
export declare function calculateUserDefaultAvatarIndex(userId: Snowflake): number;
Calculates the default avatar index for a given user id.
NameTypeOptionalDescription
userIdSnowflakeNoThe user id to calculate the default avatar index for