Files
Discord.Net/docs/faq/int_framework/respondings-schemes.md
Misha133 184a536f95 [Docs] Add interaction response schemes (#2736)
* docfx 💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀

* updates
2023-08-10 15:41:19 +03:00

1.2 KiB

uid, title
uid title
FAQ.Interactions.RespondingSchemes Interaction response schemes

Interaction Response Schemes

Working with interactions can appear hard and confusing - you might accidentally miss a cast or use a wrong method. These schemes should help you create efficient interaction response flows.

Responding to a slash command interaction

Slash command interactions support the most commonly used response methods.

Note

Same scheme applies to context command interactions.

Slash command interaction

Responding to a component interaction

Component interactions share a lot of response mwthods with slash command interactions, but they also provide a way to update the message components were attached to.

Note

Some followup methods change their behavior depending on what initial response you've sent.

Slash command interaction

Responding to a modal interaction

While being similar to Component Interaction Scheme, modal interactions lack the option of responding with a modal.

Slash command interaction