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

# Add Criminal

> The invite link, both install types, and the permissions the bot needs.

## Invite link

```text title="Invite Criminal" theme={null}
https://discord.com/oauth2/authorize?client_id=1366720500205752421&permissions=8&integration_types=0,1&scope=applications.commands%20bot
```

That link supports **both install types**, so the same URL works for a server and for a personal
(user) install.

| Install type | What it means |
| - | - |
| **Server install** | Criminal joins as a member, with channel access and a role you can position |
| **User install** | Criminal runs in your own DMs and group DMs, and its commands work anywhere you can use apps |

A server install is what you want for moderation, logging, levels and every module that needs a
channel. A user install is handy for personal commands · `/lyrics` and `/help` work in DMs.

You need **Manage Server** to add a bot to a server.

## Permissions

```text theme={null}
View Channels, Send Messages, Embed Links, Attach Files, Read Message History,
Manage Messages, Manage Channels, Manage Roles, Kick Members, Ban Members,
Moderate Members, View Audit Log
```

The invite above requests Administrator for convenience during setup. If your server policy forbids
that, strip it back to the list above · each feature degrades independently rather than breaking the
bot.

## Role hierarchy

Criminal can only act on members and roles **below its own highest role**:

```text theme={null}
@Owner
@Admin
@Criminal      ← everything below this line is manageable
@Moderator
@Member
```

Where something sits too high, the bot tells you: `/vanity status` flags it, and `/levelreward set`
refuses to save the role.

## Slash or prefix

Slash commands work immediately. Prefix commands are opt-in per server:

```text theme={null}
/config text prefix ,
```

With that set, `,ban @member spamming` behaves like `/ban`. `,help` lists the prefix equivalents.

## Support

Questions and bug reports go to the [support server](https://discord.gg/wrWcq4Gb46). Include your
server ID and the command you ran.

## Removing Criminal

Kick the bot like any member. Your settings, cases and levels stay with your server, so re-inviting
picks up where you left off. A user install is separate and can be removed from the app's context
menu.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.