Skip to main content
Version: v1

levelUp

client.on('levelUp', async (message, data, role) => { ... })
  • message returns <Message/Interaction>

Data
{
xp,
level,
userID,
guildID
}
Role
[
{
lvl: Number,
role: "role-id",
}, ...
]

*Returns undefined under the following conditions:

  • (FIXING) No levels were Provided/Found.
  • Method used was not xp.setXP()