# Limits

> Sizes, counts and timings for messages, embeds, application commands, interactions, components, presence and bots.

Hosts may set stricter values. Text lengths count Unicode characters.

## Messages and embeds

| Item | Limit |
|---|---|
| Message text | 1–4 000 (0 with an attachment, embed or components) |
| Attachments per message | 10 |
| Embeds per message | 10; 6 000 characters of embed text in all |
| Embed title / description | 256 / 4 096 |
| Embed fields | 25; name 256, value 1 024 |
| Embed author name / footer text | 256 / 2 048 |
| Links | `https://` only, 2 048 bytes |
| Reactions | 20 distinct emoji per message |
| Mentions per message | 50 members + 20 roles |
| Content, embeds and components together, as JSON | 64 KiB |

## Application commands

| Item | Limit |
|---|---|
| Commands per bot | 100 slash, 15 user, 15 message |
| Options per command or sub-command | 25 |
| Choices per option | 25 |
| Name / description | 1–32 / 1–100 |
| Text per command | 8 000 |
| String option length | 0–6 000 |

## Interactions

| Item | Limit |
|---|---|
| First response | 3 s after the host receives the interaction |
| Follow-ups, edits, modal submission | 15 minutes |
| Follow-ups | 10 per interaction |
| Autocomplete choices | 25 |

## Components

| Item | Limit |
|---|---|
| Action rows (classic messages) | 5; up to 5 buttons or 1 select each |
| Components (V2 messages) | 40, counting nested ones |
| `custom_id` | 1–100 bytes, unique per message or modal |
| Button label | 80 |
| Select options | 25 (label, value, description 100 each); placeholder 150 |
| Text displays | 4 000 characters per message or modal |
| Media gallery | 1–10 items |
| Modal | title 45; 1–5 top-level labels or text displays |
| Text input | 0–4 000 characters |
| File upload | 0–10 files |

## Status and presence

| Item | Limit |
|---|---|
| Activity name | 1–128 |
| Activity details / state | 0–128 each |
| Custom status text | 1–128 |
| Emoji (activity or custom status) | one Unicode emoji, ≤ 64 bytes |
| Presence changes shown | one per member every 3 s; the latest wins |

## Bots

| Item | Limit |
|---|---|
| Bots per community | 50 (the host may set fewer) |
| Package | header 4 KiB, manifest 64 KiB, component 64 MiB |
| Network hosts per bot | 32 |
| Storage per bot | 1 GiB (the host may set less) |
| Crash limit | disabled after 5 crashes in 10 minutes |
