showing results for - "discord js find role by name"
Samuel
14 Oct 2020
1let role = message.guild.roles.cache.find(r => r.id === "Role ID");
2
3// The member you want to add the role to
4let member = message.mentions.members.first();
5
6// Add role to the member
7member.roles.add(role);
8
9// Or add it to yourself
10message.author.roles.add(role);
11
Max
03 Jan 2017
1//outputs the IDs of all members with the specified role as an array
2
3// === discord.js v11 ===
4message.guild.roles.get('ROLE-ID').members.map(m=>m.user.id);
5
6// === discord.js v12 ===
7message.guild.roles.cache.get('ROLE-ID').members.map(m=>m.user.id);
Daniela
23 Jan 2017
1let role = message.guild.roles.cache.find(role => role.name === "Rolename");
queries leading to this page
assigning roles in discord jshow to see how many people have a certain role discord jsget all roles of user in discord jsget users with a role discord jsget all people with a role discord jsdiscord js get members in server with rolediscordjs 11 6 4 set role position copy serverfind role in discord jshow to give member a role with discord jsdiscord js give users rolesdiscord warn command per guildassign role to user when user writes something discord bothow to add permissions to discord commands discord jsdiscord js delete rolehow to get a role object by name discord jsfind a role discord jsdiscord js get role informationsjs get role by id discord jsroles add discord jsdisocrd js get rolehow to get role mentioned discord jshow to give a role with discord jsdiscord js give user rolediscord js get user rolesdiscordjs create rolehow to check for role name in discord jsget user from role discord jsdiscord js mention rolediscord js get member by namediscord js give role commandhow to get the user that created a role in discord jsadd role to a chanel discord jsdiscord js get roles of botdiscordjs client find rolediscord js assign guilddiscord js find member role by idhow to give someone a role discord jsget user 27s role in server discordjsnode js get member from guild then give them a rolefind role by id in discord jsdiscors js roleget role name by id discord jsdiscord js hierarchy roleshow to find a role in a guild discord jsget a role position discord jspermission discord jscommand to give a list of role in discord botget all user roles discord jsrole members discord jsget all the users with a role discord jshow to get the user that created the role in discord jsuser 27s roles discord jsget all users in role discord jsdiscord js get role from another serverdiscrd js change role hierarchydiscord js get all the rolesdiscord js role idget role id from role name discord jsdiscord js list roles of useradd role name discord js v12discord js change role orderfind all roles from a user discord jslist all members with a role discord jdiscord js get bot roles from the serverfind role by id discordjsgive a certain role discord jsfind a role discord jsadd role for all member discord jslist how many members in a discord discord json role given discord jsdiscord js get role by name 12discord js member set roleroles discord js guilddiscord js get all users with rolediscord bot js join role when role is added discord jshow to get a role position in discord jsget use roles discordjshow to list all members with a role in an array in discord jshow to give a role to a user discord jshow to find a role discord jsdiscord js how do i add a role to the serverdiscordjs find roleguild roles remove discord jshow to find the number of roles a person has in a discord serever discord jslet role 3d message guild roles find 28r 3d 3e r name 3d 3d 3d rolename 29 3bdiscord js find a role by idhow to get all members with a specific role in a guild in discordhow to get a role from user discord jsdiscord js filter everyone role from listrole all discord jsgive role discordjshow to tak out all bot roles from the server discord jsgiverole discord jsdiscord js get all available roleshow to get all the roles from a user in discordjsget role by mention discord jsdiscord bot set role codemessage member role adddiscord js get all roles of clientdiscord js role add with guilddiscord get members in roleget role in guild discord jsdiscord js role iddiscord js role info commanddiscord js get all members with rolediscord js set role to memberadd spcefic member to code botdiscord js get all membershow to move a role in discord jshow to add a role to the serverin discord jsget all roles discordjsfind roles discord jsget role of user discord jsdiscordjs get all members from rolediscordjs get roles of userfind who created the role discord jsfind role from guild discordjsdiscord js get members rolehow to get role name in discord jshow to get a role discord js v12check user role discord jsget all role for bot discord jsrole bot discord open source jsget a role id by name discord jssee who has what role discord jsshow all users with the same role discord jshow to get a role from a different guild discord jsdiscord js find channel by nameget user role from message discord jsdiscord js remove role id from message senderhow to get all the roles from a guild discord jsadd role discord jsdiscord js 40rolediscordjs get roleget roles reaction discord jsdiscord js get role mentionfind role discordjsdiscord js how to get a user rolesget roles of author discord jshow to get all roles from user in discord jsdiscord js how to get the bots highest role positionrole id discord jsdiscord js v12 get a list of all members with rolehow to a specific role from a member discord jsget all users with a role discord jsdiscord js create rolesdiscord js role botdiscord js role addhow to give roles discord bot javascriptdiscord bot give role codediscord js how do i create a role on a serverget all members with role discord jsdiscord js see the people who have a rolediscord js get roles from serverdiscord api get roles in orderdiscord js guild roles findget all members with role discordjshow to get the roles of a user discord jsroles some discord jshow to get a user 27s roles in discord jshow to get all roles from server discord jsget role id by name discord jsget all members without role discord jsdiscord get role by namediscord js setting role namedeclare role from id discord jshow to get the role of the user discord botfind role by name discord jsread user roles discord botget members of role discord jsdiscord js get role by idfind discord role by id discord jshow to get the role the sender in discordassighn role for a spsfic time discord jsdiscordjs get all roles in serverlist all members with a role discord js v12how to get bot role discord jscreate a role discord jssend server roles discord jsmember in discord jsdiscord js get all member of a rolerole command discord jshow to give a user a role discord jsget roles of user in discord jsdiscord js find role with iddiscord js roles nameget roles discord bot discord jsdiscord js get role from another guild memberdiscord js give a rolerole info discord jsdiscord js only rolehow to get role id with discord js botdiscord js get user rolesdiscord bot that changes roles javascriptdiscord js add rolediscord get members of role discordjsroles find discord jshow to get a users roles discord jsdiscord js give role to member commandrole name discord jshow to add find a role discord jshow to get role in discord jsdiscord js on role addhow to get role with id discord jsdiscord js v12 how to take rolemember roles highest discord sjdiscord js add roles to userget role by id discord jsconfig roles filterexempt discord jsdiscord js get role with namediscord bot get role of userdiscord js find role by iduser have role discord jsdiscord js how to find rolesget role name from id discord jsshow all roles a bot has discord jsdiscord js user role getdiscord js how to get only member user discord js get rolename by idrole id discord bothow to find roles discord jsdiscord js log all user rolesfind role name discord jsdiscordjs get role by idget role position discord jsdiscordjs set rolessee role amount discord jsmessage guild users roles discord jsrole add discord jshow to get roles discord jshow to add roles discord jsaddrole member discord js v11how to get all roles of a user discord jsdiscordjs find role name by iddiscord js find role by idmember role onlin status discord jsdiscord js find role using iddiscord bot get members with rolediscord js get role from idhow to gain admin in discord using discord jsguildmember guild roles find discord jsdiscord js role commandrole to use command discord jsdiscord js get all guild rolesdiscord js get roles of userhow to add level roles in discord jshow many users bot controls discord jsdiscord js require role for commanddiscord js mention rolediscord roles find idhave roles discordjsdiscord js get roleshow to get how many users have a role discord jshow to get mentioned role id discord jsroles discord jsrequire role discord jshow to get a users highest role discord jsdiscord js role selectordiscord js finding every user roleget name of role in discord js v12how to list all users who are in 2 roles discord jsdiscord js giving rolesget user roles name discord jsget all roles of a members discord jsdiscord js get role userlist member roles discordjshow to create roles in discord jsdiscord js discord rolefind roles discord jsdiscord js get user rolediscord js 40 rolerole id from role mention discord jsget role from guild discord jsdiscord bot find role by namediscord bot give role memb idget every user with role discord jscheck if member has bot owner id discord jsdiscord js get role name by idrhow to get a role discord jsmember role map discordjsdiscord js log role informationhow to find role by name discord jsget role by di discord jscheck the role member id discord jsdiscord js create role get iduser add role discord jsgetting role id discord jshow to get role name with a menstion discord jsdiscord js create role and get its idcheck if member has bot owner id discord js v12discord js get role namediscord js v12 create roles with namesroles return discord jsadd roles discord bot jsget all members with a role discord jsfind all roles discord jsdiscord js server rolesfind role of a server discord jsgive role to user discord jsget a role with id discord jsdiscord js fetch all members with rolediscord js get user rolesdiscord js read user with rolesdiscord js role info commanddiscord bot get rolesdiscord js how to give permission using idgive role discord jsdiscord js add a role to a userdiscord js get roles of userfind a role in discord js v12get roles of user discord jsgive member a role discord js v11discord js creat rolesdiscord js print role idsdiscord js when press button get rolesdiscor js how to find role by iddiscord js role infohow to add roles in discord jsadd role discord js 12how to get role mmber size discord jget role name with role id discord jsdiscord js get roleid by mentionget role discord jsfind role by id discord jsguild roles getdiscord js add role through commanddiscordjs users with rolediscordjs get member with role by idhow to add roles to target discord jshow to set the role to to the top position discord jsdiscord js role nameget user 27s role id discord jsget role discord js by iddiscord js get role members namehow to map all users with a role discord jshow to get a members top role discodr jsroles discord jsdiscordjs rolediscord js 2c get the role of a userhow to require a certain user id for commands djsget all members with filter discord jsdiscord js find a role in onther serverdiscord js get all users with roleguide discord js addroileget roles discord jshow to show members in a role discord jsdiscord js find rolegetting roleid discord jsget role name discord jshow to get a role from id discord jshow to give a role in discord discord jsget role id discord jsdiscordjs on role adddiscord js get role iddiscord get all members from roleget meners in role discord jsupdate role discord jsoldrole permissions underfined discordhow to give member a role with discord js v12how to make a role whenever a specific role is added to a member discord jshow to get the number of members in a role discord jsremove role from user discord js v11discordjs get roles from userhow to get the role id from message author idhow to give role discord jsfind role discord jsfind role discord js v11discord js how to get role by idhow to get a role id in a guild in discord jsroles command discord jsdiscord js role idshow to get role id discord jshow to get a role id on discord jsdiscord js get all rolesdiscordjs ge server roaldiscord js add role on join serverrole bot coderequire for role discord afficher les r c3 b4les discord js v12eval command to assign a role to all members discord jsfind a role by namediscord js get members from role by idcreate a role discordjs commadndsimple discord js userinfo commanddiscord js on join make rolefind role discord jsdiscord js role members not returning all membersold role permissions undefined discord jsdiscord js ow to find role from guildhow to add role by name discord jsdiscord js get role from another guild how to get all members of a role discord jsdiscord js guild rolehow to create a role in discord jsdiscord js member roles addadd a role to a user discord jsdiscord jsroleshow to get roles of a server discord jsget a role by name discord jsdiscordjs add rolecmd member permissions foreach 28 28perm 29 3d 3e 7b discord jsget list of members with role discord jsdiscord js find message member rolecheck who user added role discord jsget role from name discord jsdiscord js add role though commandget roles of user discord jsdiscord js v12 find roleget all user roles discord jsdiscord js how to get a role by mentiondiscordjs give rolegive role to all members discordhow to find roles in discord server via botnodejs discordjs give someone a role 11 6 4discord js get all roles of usersearch role by name discordjsdiscordjs manage rolediscord js get all rolesadd role discord jsget role of user in discord jsassign role to someone discord jshow to get members in a role discord jsdiscord js get list of all roles from userdiscord js get rolediscordjs find role by name 22message guild roles find 28 22name 22 2c 22rolename 22 29 3b 22 2c what does that mean in discord js 3fdiscord js update user rolesdiscord js user get rolegive role system discord jshow to give someone a role on discord js by guildhow to get a role discord jsdiscord js role membersdiscord js how to get the amount of members with a roleremove role by name discord js 1 602discord js get user role in guild 40 somes id discord jshow to get a role from namediscord js v12 roleshow to find role that user have discord jsfind all poeple with a role discord jsdiscord get rolehow to give a role discord jshow to get the role of a person discord jsgiving roles discord jsgrab message authors roles discordhow to set role by id discord jsfind who created role discord jsget every member with role discord jsroles for discord jsdiscord js find role using namemention role discord jshow to make your bot add rolegrant role discord jsrole discord bot codinggive 2ftake role discord jsroles count discord jsdiscord js give rolegithub com 2fanidiotsguide 2fdiscordjs bot guide 2fblob 2fmaster 2funderstanding 2fcollections md 23finding by keyget a role by id discord jsdiscord js how to find role by idget user 27s roles discord jsfind roles of user discord jshow to get roles of a user in discord jsdiscord js get members rolesee all who have this role discord jsdiscord js admin commandsrole info command discord jsfile 22main py 22 2c line 51 2c in on message if discord utils 28message guild roles 2c name 3drole name 29 3a typeerror 3a 27module 27 object is not callablediscordjs v12 get rolelhow to give user role using role id discord js without messageget all roles with roles id discord jsdelete role discord jshow to get a role id role discord jsget roles discord jsdiscord js see how many people have a rolediscord js add rolereturn role on member that leave discord jsget role from discordjsdiscord js v12 add rolediscord js give memeber role then log role namehow to give a role from guild discord jsdiscord js how to get an rolediscordjs get all members of rolerole discord jsget role from mention discordjsdiscord js check user rolesearch role name in server discord jsdiscord js v12 2 0 get all members of a rolehow to give member a rolediscord jsdiscord js how to get all of the rolescreate role discord jshow to give a person a role using a bot codediscord js get roles of clienthow to get a role from a user discord jscan a bot give me a higher role discord jsdiscord js v12 get user rolessearch user roles discord jshow to get a role position discord jsdiscord js message member rolesdiscord js get role id by nameget amount of users with role discord jsroleinfo command discord js that shows permissionsdiscord js get array of member rolesgive role to user discordjsdiscord js get all member roles in a guildget role list from member discord jsget users roles discord jsgive discord js role by nameadd role id discord jsget discord js roledjs how to get all the members roleshow to get a user id role discord jsget role of member discord jsget a list of members with a role discord jsget roles of a member discord jstake role from user discord jsdiscordjs rag a rolehow to add a role to the user discord jshow to get role with role id discord jsrole add discord jsdiscord js role listinrole command discord jsdiscord js if 28 21message member haspermission 28 60manage emojis 60 29 29get user all roles discord jshow to grab all of the roles from a member in discord jsdiscord js how to get the id of a rolehow to get role mention discord jshow to require in discord jsdiscord js get rolediscord js get users with rolehow to make a guildmemberrolesupdate event discord jsdiscord bot custom role jsif 28message member roles has mentionget all roles on a member discord jsdiscord js member name functiondiscord js role apiget role name by id discord jsdiscord js assign rolemessage memberdiscord js get all member that have a rolehow to get a guilds role amount discord jsdiscord js get guild rolediscord js status for rolehow to add roles discord jsfind role discordjs v12discordjs find role by iddiscord js get user roles idclient roles discord jsdiscord js get role and addhow to get all of the roles in a discord server discord jsdiscord js role set position is not a functiondiscord js rollen von user gettenget role from guild discordjsdiscord js get role with iddiscord js create guild rolediscord js delte rolegithub addrole on join discordjsmove role to top discord jsnodejs discord role bot codeall roles a user has discord jswho have the role discord jsdiscord js list users with a rolehow to use role holds discord jsget all roles discord js userrole size channel discord jshow to get a discord role in discord jsdiscord js get members roles by idmake role discord jsdiscord js look for role mentiondiscord js set role from role na 2ceget a role discord jsrole by id discord jsget role by id discord jsadd user to role discord jsdiscord js add roles to botdiscordjs v12 get how to find a role in a differnt guild discord ksfind role discord js v12dsicord js role infohow to get created role author discord jsdiscord js list all users with rolewhen a user gets a role discord jsrole id discord jshow to find a role from any guilddiscord js get role by iddiscord js how to get all roles in a guilddiscord js role idget role id discorddiscord role name json member update roles discord jshow to get role id by role name discord jshow to find the number of roles any person has in a discord serever discord jsadd a role discord jshow to add a role in discord jsdiscord get rolename by iddiscord js fetch role iddiscord js add role by idhow to give a user a role with discord jsdiscordjs get role by namediscord js get all member rolesrole from user discord jsdiscord js how to get all server roleshow to find role discord jsget all roles discord jsdiscord js role name idget all members with a special role discord jsget a role discordd jsfind a role discordjsdiscord js get member rolesdiscord js v12 get role sizeget users with a role discord jshow to find a role from any guild discord jsrole management command discord jsdiscord js check for rolehow to get role by roleid discord jsfind a role from client discord jshow to make a discord bot give roles discord jsget all members with a role discordjsassign role by id discord jsdiscordjs has role by namediscord js give player roleget all members with a role discord jsdisplay role name from botall discord roles discord jshow to get a roles position discord jshow to tell your bot to add a rolegive member role discord jsadd role to user discord js by role idrole add discord js v11set bot to highest roleget server role by id discord jsdo something when someone gets a role discord jsdiscord js get role by namediscord js show all users with rolehow to find a role or channel by the name discord jsroles remove discord jsget roles in discord jshow to find role name discord jsdiscorjs fetch rolediscord js message guild role findhow to make and list an array of roles discord jsdiscord js integration rolehow to give a role using discord jsget role discord js namediscordjs make roleget role id by name discord jsfind role nam discord jshow to program bot to give rolesget all roles in discord jshow to add a role discord jsdiscordjs manage rolesget role ids discord jslist all members with role discord jsdiscord js all members in roleget role object discord jshow to get all of a members roles discord jsdiscord js how to give role to a usergetting a role by id discord jsdiscord js reaction rolediscord js add role by idgrab role discord js v12discord js get the bot 27s role from servermention role discord jsmake role and than add it to user discord jsdiscord js lookup role by iddiscord js how to get the roles of userhow to map roles discord jsupdate role name discord jsglobal moderator discord jshow to get all roles from user discord jsrole name discord jsdiscord js guild roles setroleget role id from name discord jsdiscord js get role from guilddiscord js fetch role membersdiscord js role id forget all members in a role discordpthow to read roles in discord jsdiscord js code to buy a rolerole command for discord jsdiscord js on bot join make rolemessage role get discord jsfetch role discord jsgive member role discordjs 12how to get user role in discord jshow to get role from id discord jsdiscord js set role to member by namediscord js get list of all membershow to get a role from name discord jsdiscordjs add role to topgetting role discord jsdiscord js fetch rolemanage roles in discord jsdiscord js get rolesget all roles of user discord jsget all roles id in discord jsdiscord js server role from iddiscord js get a list of all members with rolehow to find the number of roles in a server on discord discord jshow to get role by role name discord jshow to get role id discord jshow to code a discord bot to give rolesdiscord js add role commanddiscord js check bot role positionrole list discord jsfind role on member discordjsgive a user a role discord jshave your bot find role by name discord jsget roll discord jsdiscord guild get role membersdiscord js get role iddiscord js find roleshow to a role from it name in discord jsdiscord bot to give roles according to guild skyblockhow to give someone a role in discord jsrole id discord 2cjsdiscord js mention a role by namediscord js show role idhow to get all of the roles from a member in discord jsdiscord js create rolehow to move a roles position in discord jsget role object by id discordjshow to calculate a threat of a user discord jsdiscord js get roles of a userhow to find a role by name discord js v12add roles at guild member addhow to know role id in discord jsget user role name discord jsdiscord js members commandhow to get roles filtered by position discord jsget owner role discord jsdiscordjs list members with rolediscord js get role namediscord js v12 roles size guildgive member role discord jsdiscord js role assignmake a discord js command only available to rolediscord js role name to iddiscord js set user roleset role discordjsdiscord js remove rolesget role with role id discord jsdiscord js when someone gets a new roleget members witha role discord jsdiscord js all roles mentiondiscord js bot look for roleget the role list of a mentioned user discord jsdiscrod js how to get role id by namerank command for a role discord jsdiscord js get all members for a roleadd role to member discordjsget role discord jsget members top role discordjsget all roles of a user discord jsget author roles discord jsdiscord js 28role 29 iddiscord js get role id from rolediscord js give user tole via 40discord js give rolediscord js give a user a roleadd role by id discord jsget role from id discord jsdiscord js add role on joinhow to get total role total for a server discord jsset role via discord jsdiscord js get all member with a rolediscord js what role a user gotgive roles to members discord js v12get user role discord jscheck for role discord jsdiscord js get roles from iddiscord js list everyonediscord js code to buy a rleget role list discordjsdiscord go get memberlistdiscord js manage rolesget role discordjsgive roles with discord jsget role information discord jsfind role v11discord js get all guild members with rolefinding roles in discord jsget user roles discord jsdiscord js get role v12only role comand discord jsget guild role id discord discord jdiscord js v12 only user with role can use commanddiscord js not getting all members in a role find role by name discord jsdiscord js get guild rolesget all roles of guild id discord jsdiscord js find roles by iddiscord js check user for rolehow to see user 27s role discord jshow to get the number of users with a role discord jsadd role command discord jsget all roles user discord jshow to create a role in the highest position in discord jshow to add a role to a user discord jsrolemembers discord jsdiscord js member objectmember roles cache somediscord js get role id from namediscord js search rolesdiscord js message role metion getclient guild find role by id discord jscheck for user role name discord jsdiscord js find rolediscord js fetch roleslog when role added to user discord jsdiscord js take role awaydiscord js comand only if the have rolehow to add roles in discord jshow to get role from message discord jsgive someone specific role discord jsfind a role from name discord jsdiscord js find role by nameget roles by id discord jsget roles of user discord 2cjsdiscord js get all members with roleget info about role discordjsdiscord js role membersfind members who have a role discord jsdiscord bot display all rolesrole by name discord jsget all roles discord jsdiscord js get role from other server v12creating roles discord jsdiscord js get name of roleonly role can execute this command discord jsrole all command discord jshave role discord jshow to give someone a role on discord jswhy is roles on discord js not workingdiscord js v12 give role by iddiscord js make bot self rolediscordjs get all members with a rolediscord js max membersmessage membber rolesdiscord js how to get a role by mentiondiscord js get member in role without memberdiscord js not all members of rolediscord js get list of rolesget roles of a user discord jssearch role command discord jsclient cache permissions discord botonly role can run this command discord jsget the role list of a mentioned user discordjshow to give an existing role to a discord member in jsget all members who has a specific role discord jsdiscord js how to check the bots role positionget role by name discord jshow to add role discord jsfind role by name discordjsadd role to user discord jsdiscord js get every rolehow to make discord bot js see a member as a rolediscord js member role udpatediscord js get all user rolesrole give discord jsmessage owner role discord jsamount of roles discord jsdiscord js how to get the bot 27s rolehow to get all roles in discord jsrole id discord jsget role list in a user discordjsdiscord js get role from serverdiscord js create a roleget roles of a guildmember discordjsline of code that gives discord user rolehow to find a role discord js by idcheck when a role is removed discord jsdiscord js does member have rolehow to give roles disord jsget role by id discordjsadd owner role command discord js 2020discord js give user role by namediscordjs set role toprolename discord jsdiscord js add role with idhow to list members with role discord jsdiscord js 2f 5c 3fmember 2fgcant get role id discord jsdiscord js fetch role by iddiscord js rolescreate a discord js bot that will award roles based on how many messages you sentdiscord js role member discord js rolename 3d client guilds get 28guild id 29 roles get 28verified role id 29 name 3bdiscord js requiredroles 3ahow to find a role in discord jsmanage messages discord js botdiscord js get role by namehow to check if when a member joined a server discord jsdiscord js find role by userget the user who ran the command discord jsdiscord js get member rolesdiscord js get role by name v12discord js show role name to iddiscord js find a role by namead role by name discord jsdiscord js log role membersgive a role discord bot jsdiscord js rolesif you find this role discord jsget all members of a role discord jsdiscord js role name by idrole by name discord jsenable function for a server discord jsrole all online discord jshow to find role by role id discord jshow to give member a rolen discord jsdiscord js on rolediscordjs user have rolehow to add roles with naming the role discord botget all roles of an user discordjsdiscord js take rolediscord js add role to userhow to check for all members that are online then give them a role discord jsgive member role discordjsdiscord js roleget all memver roles discord jsroles map discordjsdiscord js list all members with a rolehow to get a role in discord jsgive user role discord jsget list of users from role discord jsjavascript discord bot get guild rolesdiscordjs role sethow to make a discord bot give roles discord jsmember roles add 28 29how to acces roles in discord jshow to get a role from its id discord jsget role id with the role name discord jshow ot find all roles of the bot discord js v12data of role node js discordcreate roles from cache discord jsdiscord js user get role giveline of code that gives discord uer a rolediscord js roleget all roles of a plaer discorddiscord js get all roles of userdiscord js get server role iddiscord js mention role namediscord js get all guild roleget role id discord jscheck permissions of user discord js v12 githubhow to get the user id of everyone who has a role discord jsdiscord js give yourself rolemessage guild roles findhow to find all poeple with roll discord jsadd roles discord jsdiscordjs get guild rolesdiscord js get member with rolediscord js how to find a role namediscord js find role by nameget list of users with a role discord jsdiscord js find role by name