MrAugu/discord-xp

Leveling.xpFor() is not a function??

Closed this issue · 0 comments

So I use following code -
var output = await leveling.Fetch(user.id)
var required = parseInt(output.level) + parseInt(1)
var xpRequired = leveling.xpFor(required);

My npm package is latest version but i get this error