DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
discord js user has role
if
(
message
.
member
.
roles
.
find
(
r
=>
r
.
name
===
"Admin"
)
)
{
// The rest of your code.
}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#discord
#js
#user
#role
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit