Files
Discord.Net/docs/faq/int_framework/respondings-schemes.md
Nora 473b13e75f Improve and modernize docs. (#2882)
* Add proper home landing page.

* Improve landing page considerably.

* Add navbar library name.

* Fix css rules.

* Update getting started images.

* Change favicon to the navbar's logo.

* Tiny change to docs index.

* Add title to home landing page.

* Tweak build overrides faq page.

* Fix FAQ article titles and headers.

* Fix FAQ article titles and headers.

* Replace channel 9 with the official .net course.
2024-03-18 20:39:43 +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