Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js check if user is admin

member.hasPermission("ADMINISTRATOR")
This returns a bool.
 
PREVIOUS NEXT
Tagged: #check #user #admin
ADD COMMENT
Topic
Name
8+3 =