# discord-interactions-py > Python module for Discord interactions on top of discord.py: buttons, select menus, Components V2, modals and slash commands, built as raw Discord API payloads. No `discord.ui.View`, no `app_commands.CommandTree`. Current version: 0.3.0 (`pip install levraiberet-discord-interactions`, `import discord_interactions`). Documentation in English and French. Every docs page also exists as Markdown: add `index.md` to its URL. ## Files for AI - [llms-small.txt](https://discordpy.levraiberet.ovh/llms-small.txt): rules, a minimal bot and every public signature (~13,000 tokens). Start here. - [llms-full.txt](https://discordpy.levraiberet.ovh/llms-full.txt): every guide, the whole reference and all examples (~54,000 tokens). - [llms-full-fr.txt](https://discordpy.levraiberet.ovh/llms-full-fr.txt): the same in French (~55,000 tokens). - [reference.json](https://discordpy.levraiberet.ovh/reference.json): the API as JSON (signature, summary, example, URLs per symbol). - [AGENTS.md](https://discordpy.levraiberet.ovh/AGENTS.md): drop-in rules for a project (AGENTS.md, CLAUDE.md, .cursor/rules). ## Rules for writing code with this module 1. Install `pip install levraiberet-discord-interactions`, import `discord_interactions` (slash commands: `discord_interactions.slash`). Python 3.9+, discord.py 2.6+. 2. Do NOT use `discord.ui.View`, `discord.ui.Button`, `discord.ui.Modal` or `app_commands`: this module replaces them. Components are plain dicts built by `create_*` functions or builders (`container()`, `section()`, `ModalBuilder`). 3. One entry point for components: `router = InteractionRouter()` and `@client.event async def on_interaction(interaction): await router.handle(interaction)`. Slash commands are handled by `slash = SlashManager(client)` on its own (auto-synced on ready). 4. Routing uses the `base_id`, the part of `custom_id` before `:`. `@router.on("id")` for buttons and selects, `@router.modal("id")` for modals. Handler signature: `(interaction)`, `(interaction, data)` or `(interaction, data, base_id)`; for a modal, `data` holds the submitted values. 5. `create_button("id", "Label", data={...})` stores data in the custom_id (100 characters max in total) and it comes back as `data`. Use `create_signed_button` / `parse_signed_custom_id` when the data must not be forged. 6. Every interaction must be answered within 3 seconds, exactly once: `respond_to_interaction`, `update_message` (edits the clicked message), `send_modal`, or `defer_interaction` then `send_followup` / `edit_original_response`. `respond()` and `ctx.respond()` switch to a followup automatically. 7. A modal must be the first response (never after a defer). 5 components max per modal. Read values with `values["id"]`: `str` for text and radio, `bool` for a checkbox, `list` for selects, checkbox groups and uploads. 8. Select values are always a list. Users, roles, channels: `parse_values(interaction).users("id")`, `.roles("id")`, `.channels("id")`, `.mentionables("id")`. 9. Components V2 (`container`, `section`, `mediaGallery`, `separator`, `textDisplay`) cannot be mixed with embeds. The IS_COMPONENTS_V2 flag is added automatically and `content` is turned into a text display. 10. Discord limits: 5 buttons per row, 5 rows (V1), 25 select options, 80-character button labels, unique custom_id per message. ## Key facts - Replaces `discord.ui.View` and `app_commands` while keeping discord.py for the gateway: you send raw Discord API payloads. - Supports the latest components: Components V2 (container, section, media gallery, file, separator), modal labels, radio groups, checkboxes, checkbox groups and file uploads. - Slash commands: typed options, groups, autocomplete, cooldowns, permissions, middlewares, localization, automatic sync. - MIT license. ## Guides - [Getting started](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/introduction/index.md): Install the module and run a bot with a slash command and a button. - [Buttons](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/boutons/index.md): Send a button, react to the click, carry data, disable after use. - [Select menus](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/menus/index.md): Text, user, role and channel select menus, reading the choices, common errors. - [Components V2](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/composants-v2/index.md): Containers, sections, thumbnails, galleries, files and separators. - [Modals](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/modales/index.md): Forms with text, select menus, radio buttons, checkboxes and file uploads. - [Slash commands](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/commandes-slash/index.md): Declare commands, their typed options, groups and autocomplete. - [Cooldowns and permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/cooldowns-permissions/index.md): Rate-limit commands and control who can use them, and where. - [Routing and custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/routage/index.md): Send every click to its function, carry data and sign it. - [Messages and updates](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/messages/index.md): Send, reply, defer, edit, then change the components of an existing message. - [Common errors](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/erreurs/index.md): What "This interaction failed", 10062, 40060, 50035 and 50013 mean, and how to fix them. - [Recipes](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/recettes/index.md): Complete features to copy: poll, pagination, tickets, applications, help menu. - [Using with an AI](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/ia/index.md): Give the whole documentation to Claude, ChatGPT, Cursor or Copilot so they write correct code. - [Upgrading to 0.3](https://discordpy.levraiberet.ovh/docs/en/0.3.0/guides/migration/index.md): What changes between 0.2 and 0.3, and what to adapt. ## API reference - Buttons: [create_button](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_button/index.md), [create_link_button](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_link_button/index.md), [create_premium_button](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_premium_button/index.md) - Select menus: [create_channel_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_channel_select_menu/index.md), [create_entity_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_entity_select_menu/index.md), [create_mentionable_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_mentionable_select_menu/index.md), [create_role_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_role_select_menu/index.md), [create_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_select_menu/index.md), [create_user_select_menu](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_user_select_menu/index.md), [default_value](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/default_value/index.md), [select_option](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/select_option/index.md) - Builders: [ActionRowBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ActionRowBuilder/index.md), [ContainerBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ContainerBuilder/index.md), [FileBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/FileBuilder/index.md), [MediaGalleryBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MediaGalleryBuilder/index.md), [SectionBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SectionBuilder/index.md), [SeparatorBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SeparatorBuilder/index.md), [TextDisplayBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/TextDisplayBuilder/index.md), [ThumbnailBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ThumbnailBuilder/index.md), [actionRow](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/actionRow/index.md), [container](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/container/index.md), [fileComponent](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/fileComponent/index.md), [mediaGallery](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/mediaGallery/index.md), [section](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/section/index.md), [separator](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/separator/index.md), [textDisplay](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/textDisplay/index.md), [thumbnail](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/thumbnail/index.md) - Components V2: [create_action_row](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_action_row/index.md), [create_button_row](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_button_row/index.md), [create_container](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_container/index.md), [create_file](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_file/index.md), [create_media_gallery](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_media_gallery/index.md), [create_media_item](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_media_item/index.md), [create_modal_row](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_modal_row/index.md), [create_section](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_section/index.md), [create_select_row](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_select_row/index.md), [create_separator](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_separator/index.md), [create_text_display_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_text_display_component/index.md), [create_thumbnail](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_thumbnail/index.md), [disable_all_components](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/disable_all_components/index.md) - Modal fields: [create_checkbox](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_checkbox/index.md), [create_checkbox_group](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_checkbox_group/index.md), [create_file_upload_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_file_upload_component/index.md), [create_label_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_label_component/index.md), [create_modal](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_modal/index.md), [create_radio_group](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_radio_group/index.md), [create_text_input](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_text_input/index.md) - Types and constants: [ButtonStyle](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ButtonStyle/index.md), [ComponentType](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ComponentType/index.md), [SeparatorSpacing](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SeparatorSpacing/index.md), [TextInputStyle](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/TextInputStyle/index.md), [create_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_component/index.md) - Building modals: [ModalBuilder](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ModalBuilder/index.md) - Reading values: [ModalSubmit](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ModalSubmit/index.md), [get_modal_values](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/get_modal_values/index.md), [parse_modal](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/parse_modal/index.md), [parse_values](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/parse_values/index.md) - Sending and replying: [defer_interaction](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/defer_interaction/index.md), [delete_original_response](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/delete_original_response/index.md), [edit_message](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/edit_message/index.md), [edit_original_response](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/edit_original_response/index.md), [get_original_response](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/get_original_response/index.md), [respond](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/respond/index.md), [respond_to_interaction](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/respond_to_interaction/index.md), [send_followup](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/send_followup/index.md), [send_message](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/send_message/index.md), [send_modal](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/send_modal/index.md), [update_message](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/update_message/index.md) - Updating components: [DisableAllHandle](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/DisableAllHandle/index.md), [add_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/add_component/index.md), [disable_all](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/disable_all/index.md), [disable_all_by_message_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/disable_all_by_message_id/index.md), [disable_buttons](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/disable_buttons/index.md), [remove_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/remove_component/index.md), [row_update](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/row_update/index.md), [row_update_one](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/row_update_one/index.md), [update_component](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/update_component/index.md), [update_component_one](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/update_component_one/index.md) - Payloads: [MessageFlags](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MessageFlags/index.md), [build_message_payload](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/build_message_payload/index.md), [parse_allowed_mentions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/parse_allowed_mentions/index.md) - Routing: [InteractionRouter](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/InteractionRouter/index.md) - Signed custom_id: [build_signed_custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/build_signed_custom_id/index.md), [create_auto_rows](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_auto_rows/index.md), [create_signed_button](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_signed_button/index.md), [parse_signed_custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/parse_signed_custom_id/index.md), [respond_or_followup](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/respond_or_followup/index.md) - Shortcuts: [quick_button](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/quick_button/index.md), [quick_container](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/quick_container/index.md), [quick_row](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/quick_row/index.md), [quick_send_container](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/quick_send_container/index.md) - custom_id: [build_custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/build_custom_id/index.md), [decode_data](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/decode_data/index.md), [encode_data](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/encode_data/index.md), [get_base_custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/get_base_custom_id/index.md), [parse_custom_id](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/parse_custom_id/index.md) - HTTP: [CallbackType](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CallbackType/index.md) - Slash commands: [SlashCommand](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SlashCommand/index.md), [SlashCommandManager](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SlashCommandManager/index.md), [SlashGroup](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SlashGroup/index.md), [option](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/option/index.md), [options](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/options/index.md) - Context: [SlashContext](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SlashContext/index.md), [create_context](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_context/index.md) - Options: [AttachmentOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/AttachmentOption/index.md), [BooleanOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/BooleanOption/index.md), [ChannelOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ChannelOption/index.md), [Choice](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Choice/index.md), [IntegerOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/IntegerOption/index.md), [MentionableOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MentionableOption/index.md), [NumberOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/NumberOption/index.md), [OptionBase](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/OptionBase/index.md), [RoleOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/RoleOption/index.md), [StringOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/StringOption/index.md), [UserOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/UserOption/index.md), [ChannelTypes](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ChannelTypes/index.md), [OptionType](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/OptionType/index.md), [Attachment](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Attachment/index.md), [Boolean](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Boolean/index.md), [Channel](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Channel/index.md), [Integer](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Integer/index.md), [Mentionable](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Mentionable/index.md), [Number](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Number/index.md), [Role](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Role/index.md), [String](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/String/index.md), [User](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/User/index.md) - Permissions: [PermissionConfig](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/PermissionConfig/index.md), [IntegrationType](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/IntegrationType/index.md), [InteractionContext](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/InteractionContext/index.md), [Permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Permissions/index.md), [allowed_channels](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/allowed_channels/index.md), [allowed_guilds](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/allowed_guilds/index.md), [blocked_channels](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/blocked_channels/index.md), [bot_has_permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/bot_has_permissions/index.md), [check](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/check/index.md), [check_permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/check_permissions/index.md), [contexts](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/contexts/index.md), [default_permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/default_permissions/index.md), [dm_only](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/dm_only/index.md), [guild_only](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/guild_only/index.md), [has_permissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/has_permissions/index.md), [integration_types](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/integration_types/index.md), [nsfw](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/nsfw/index.md), [owner_only](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/owner_only/index.md), [require_roles](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/require_roles/index.md), [time_restricted](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/time_restricted/index.md), [user_installable](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/user_installable/index.md) - Cooldowns: [CooldownBucket](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CooldownBucket/index.md), [DynamicCooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/DynamicCooldown/index.md), [SharedCooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SharedCooldown/index.md), [CooldownType](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CooldownType/index.md), [channel_cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/channel_cooldown/index.md), [cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/cooldown/index.md), [global_cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/global_cooldown/index.md), [guild_cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/guild_cooldown/index.md), [member_cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/member_cooldown/index.md), [user_cooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/user_cooldown/index.md) - Autocomplete: [AutocompleteContext](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/AutocompleteContext/index.md), [AutocompleteRegistry](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/AutocompleteRegistry/index.md), [autocomplete_handler](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/autocomplete_handler/index.md), [chain](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/chain/index.md), [conditional](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/conditional/index.md), [filter_choices](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/filter_choices/index.md), [from_coroutine](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/from_coroutine/index.md), [from_dict](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/from_dict/index.md), [from_list](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/from_list/index.md) - Middlewares: [Middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Middleware/index.md), [MiddlewareStack](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MiddlewareStack/index.md), [MiddlewarePhase](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MiddlewarePhase/index.md), [analytics_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/analytics_middleware/index.md), [error_handler_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/error_handler_middleware/index.md), [logging_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/logging_middleware/index.md), [maintenance_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/maintenance_middleware/index.md), [ratelimit_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/ratelimit_middleware/index.md), [timing_middleware](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/timing_middleware/index.md) - Localization: [Localization](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/Localization/index.md), [LocalizedString](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/LocalizedString/index.md), [TranslationSet](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/TranslationSet/index.md), [create_common_localization](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/create_common_localization/index.md), [L](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/L/index.md) - Sync: [CommandSync](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CommandSync/index.md), [SyncResult](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SyncResult/index.md), [SyncMode](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SyncMode/index.md) - Errors: [AutocompleteError](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/AutocompleteError/index.md), [BotMissingPermissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/BotMissingPermissions/index.md), [CheckFailure](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CheckFailure/index.md), [CommandDisabled](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CommandDisabled/index.md), [CommandNotFound](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CommandNotFound/index.md), [CommandOnCooldown](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/CommandOnCooldown/index.md), [InvalidOption](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/InvalidOption/index.md), [MaxConcurrency](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MaxConcurrency/index.md), [MiddlewareError](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MiddlewareError/index.md), [MissingPermissions](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/MissingPermissions/index.md), [NotInGuild](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/NotInGuild/index.md), [NotOwner](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/NotOwner/index.md), [NSFWChannelRequired](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/NSFWChannelRequired/index.md), [SlashCommandError](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/SlashCommandError/index.md) - Other: [COMMON_TRANSLATIONS](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/COMMON_TRANSLATIONS/index.md), [LOCALES](https://discordpy.levraiberet.ovh/docs/en/0.3.0/api/LOCALES/index.md) ## Optional - [Documentation en français](https://discordpy.levraiberet.ovh/docs/fr/0.3.0/index.md) - [Runnable examples on GitHub](https://github.com/levraiberet/discord-interactions-py/tree/main/examples) - [PyPI](https://pypi.org/project/levraiberet-discord-interactions/)