Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js find role by name

let role = message.guild.roles.cache.find(role => role.name === "Rolename");
 
PREVIOUS NEXT
Tagged: #find #role
ADD COMMENT
Topic
Name
9+6 =