Skip to content
Discord-Rankup

fetchLeaderboard

Fetches a user’s XP Profile from a guild on the database

Parameters

ParameterTypeDescriptionRequiredDefault
guildIDString | SnowflakeThe ID of the guildNone
optionsLeaderboardQueryThe options for the leaderboard{ limit: 10, skip: 0 }

Returns

Promise< Array<XPMember> > - List of members as per the options