discordjs How to get roles by name and not by id

前端 未结 0 2007
别那么骄傲
别那么骄傲 2020-12-07 23:10

I take the array of role ids in this way message.guild.roles.cache.keyArray(); with the keyArray method, is there any way to get the list of id\'s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题