> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kyos.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Fake permissions

<Card title="Module: Fake permissions" icon="shield-check" horizontal="True">
  Our guide to setting up fake permissions inside your server
</Card>

<Info>
  Only the **server owner** may customize fake permissions
</Info>

## Why use fake permissions?

<Tabs />

Fakeperms levels up the security within your server by **miles.** With fake permissions, you negate the possibility of rouge moderators nuking your server with kyos's built in command cooldowns, not allowing them to abuse Discord's API with Discord's permissions system.

## Granting fake permissions

<Tabs />

You can either grant fake permissions to a **role** or **user.** When granting the permission, do **not** put a **\_** in between.

<CodeGroup>
  ```javascript syntax theme={null}
  ,fakepermissions add (user/role) (permission)
  ```

  ```javascript example theme={null}
  ,fakepermissions add @moderators ban members
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/I5vQIDwxulOEOE4L/images/fp-1.png?fit=max&auto=format&n=I5vQIDwxulOEOE4L&q=85&s=9640a95ffd05e52a919b169d8ee06c52" width="470" height="134" data-path="images/fp-1.png" />
</Frame>

## Removing fake permissions

<Tabs />

When removing fake permissions, you can either specify the permission or remove them **all.**

<CodeGroup>
  ```javascript syntax theme={null}
  ,fakepermissions remove (user/role) (permission)
  ```

  ```javascript example theme={null}
  ,fakepermissions remove @moderators all
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/I5vQIDwxulOEOE4L/images/fp-2.png?fit=max&auto=format&n=I5vQIDwxulOEOE4L&q=85&s=ff5caaa33af85adb8b2715e3c88cdc96" width="374" height="118" data-path="images/fp-2.png" />
</Frame>

## Clearing all fake permissions

<Tabs />

Clears all fake permissions inside the server

<CodeGroup>
  ```javascript syntax theme={null}
  ,fakepermissions clear
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/I5vQIDwxulOEOE4L/images/fp-3.png?fit=max&auto=format&n=I5vQIDwxulOEOE4L&q=85&s=95401aa8c63fe8dd731ece73679d0913" width="400" height="160" data-path="images/fp-3.png" />
</Frame>

## Viewing fake permissions

<CodeGroup>
  ```javascript syntax theme={null}
  ,fakepermissions list
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/I5vQIDwxulOEOE4L/images/fp-4.png?fit=max&auto=format&n=I5vQIDwxulOEOE4L&q=85&s=aaf4c5209bba843441ef5b76c852af49" width="288" height="178" data-path="images/fp-4.png" />
</Frame>
