Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add level and exp to member class #186

Closed
Meff1u opened this issue Oct 26, 2022 · 1 comment
Closed

add level and exp to member class #186

Meff1u opened this issue Oct 26, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Meff1u
Copy link

Meff1u commented Oct 26, 2022

e.g. :

const member = await client.members.fetch(serverid, memberid);
console.log(member.level, member.xp)

and it will return actual level and xp for guild.

@Meff1u Meff1u added the enhancement New feature or request label Oct 26, 2022
@zaida04
Copy link
Owner

zaida04 commented Oct 29, 2022

This is a limitation of the Guilded API. XP data is not actively returned by API routes, though there are some workarounds like using the setXp method with 0 xp which will return their current xp.

@zaida04 zaida04 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants