How to check how many people have a role using discord.js?

后端 未结 0 1041
南旧
南旧 2021-01-22 00:00

I want to see how many members have a certain role in my server. To do so I am using the code:

const bots = guild.roles.cache.find(role => role.name == "B         


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