Is there a way to check if the user has either a role or a permission in discord.py

后端 未结 0 1808
北荒
北荒 2020-12-21 15:50

I want to make a command that can be used if the user either has a specific role or permission. Here is what I have right now

    @commands.has_role(\'DJ\')
          


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