title: How do you make a specific role able to use a slash command in Nextcord?
body: <p>How do you make a specific role able to use a slash command in Nextcord?</p>
  <p>I have found using <code>@command.has_permissions(manage_messages=True)</code> doesn't work when using slash command in Nextcord eg:</p>
  <pre><code>@bot.slash_command(description=&quot;Hello&quot;)
  @command.has_permissions(manage_messages=True)
  async def hi(interaction : Interaction):
      await interaction.send(&quot;Hello!&quot;)
  </code></pre>
  <p>I have tested this using alt accounts without the appropriate permissions and the command still works.</p>
  <p>Is this a Nextcord bug or is there a different way to do this using slash commands?</p>