Skip to content

I can't fetch a user's permsissions from a server #6535

Closed Answered by almeidx
Scarner56 asked this question in Q&A
Discussion options

You must be logged in to vote

That error suggests the user was not found in the cache.

So, instead of relying solely on it (the cache), fetch the member using await sunucu.members.fetch(req.user.id)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kyranet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants