Only let users with a specific permission use kick slash command

I know how to make it so that only ME can use a slash command, that way if someone isn’t me and tries to use my slash command it will be gray like :

grey slash command

client.application.commands.permissions.set([
  {
    id : cmd.id,
    permissions : [
      {
        type : 'USER',
        id : 'My id',
        permission : true
      }
    ]
  }
])

How to do the same thing for permissions ? How to do it so that only members with a specific role can use the command ?