Skip to content
Discord-Rankup

getRank

Get the user’s rank in the leaderboard

Parameters

ParameterTypeDescriptionRequiredDefault
userIDString | SnowflakeThe ID of the userNone
guildIDString | SnowflakeThe ID of the guildNone

Returns

Promise<Number> - The user’s position on the leaderboard