Skip to content
Discord-Rankup

createMember

Creates a new XP Profile for a user in a guild on the database

Parameters

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

Returns

Promise<XPMember> - The member’s XP Profile if the member does not exist
False - If the member does already exist