Skip to content
Discord-Rankup
Search
Cancel
GitHub
Discord
Select theme
Dark
Light
Auto
Guides
Introduction
Examples
Basic Bot
Classes
DiscordRankup
Randomizer
Events
levelDown
levelUp
Functions
addXp
createMember
deleteMember
disconnect
fetch
fetchLeaderboard
getCardData
getLevelFromXP
getRank
init
removeXP
requiredXP
resetXP
setXP
Typedefs
LeaderboardQuery
LevelChangeEvent
XPCardData
XPMember
Select theme
Dark
Light
Auto
getCardData
Returns the user’s card data to create profile cards.
Parameters
Parameter
Type
Description
Required
Default
userID
String
|
Snowflake
The ID of the user
✅
None
guildID
String
|
Snowflake
The ID of the guild
✅
None
Returns
Promise
<
XPCardData
> - The user’s card data