Is it possible to get user roles from a DM interaction? #6612
-
I created a bot that:
Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
SpaceEEC
Sep 8, 2021
Replies: 1 comment
-
Yes, it is possible: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kyranet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it is possible:
When fetching the member through
GuildMemberManager#fetch
(as you already do), specifyFetchMemberOptions
instead to skip the cache check:...fetch({ user: userId, force: true });