Skip to content
Discord-Rankup

resetXP

Reset the XP amount of a user to 0

Parameters

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

Returns

Promise<Number> - The new XP amount of the user