cloud icon indicating copy to clipboard operation
cloud copied to clipboard

JDA Impl cannot find user of clearly existing user.

Open solonovamax opened this issue 2 years ago • 2 comments

If you have a User argument, and the user is not currently cached by the JDA, then it will return a user not found error.

This can be easily solved by using retrieveUserById instead of getUserById as well as retrieveMemberById instead of getMemberById

See the first instance and second instance of where these are used.

solonovamax avatar Jul 19 '21 00:07 solonovamax

A pull request would be appreciated!

Citymonstret avatar Jul 25 '21 11:07 Citymonstret

Will do :+1:

solonovamax avatar Jul 31 '21 05:07 solonovamax