How to check user have a member role #320
Answered
by
aiko-chan-ai
gunawans67
asked this question in
Q&A
Replies: 1 comment
-
member.roles.has('id')
// or
member._roles.includes('id') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gunawans67
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to check user have a member role/others role
Beta Was this translation helpful? Give feedback.
All reactions