Check if user and bot role is higher than the mentioned user (discord.js)

前端 未结 0 1386
自闭症患者
自闭症患者 2020-12-23 15:20

I am making a set nickname command and here is my code:

 if(message.mentions.members.first().roles.highest.position > bot.user.roles.highest.position) retu         


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