Preview environment

function calculateUserDefaultAvatarIndex

export declare function calculateUserDefaultAvatarIndex(userId: Snowflake): number;

Calculates the default avatar index for a given user id.

Parameters

userId: Snowflake
The user id to calculate the default avatar index for