[Docs] Add interaction response schemes (#2736)
* docfx 💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀 * updates
This commit is contained in:
BIN
docs/faq/int_framework/images/response-scheme-component.png
Normal file
BIN
docs/faq/int_framework/images/response-scheme-component.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 620 KiB |
BIN
docs/faq/int_framework/images/response-scheme-modal.png
Normal file
BIN
docs/faq/int_framework/images/response-scheme-modal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 615 KiB |
BIN
docs/faq/int_framework/images/response-scheme-slash.png
Normal file
BIN
docs/faq/int_framework/images/response-scheme-slash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 432 KiB |
32
docs/faq/int_framework/respondings-schemes.md
Normal file
32
docs/faq/int_framework/respondings-schemes.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
uid: FAQ.Interactions.RespondingSchemes
|
||||
title: 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.
|
||||
|
||||

|
||||
|
||||
## Responding to a component interaction
|
||||
|
||||
Component interactions share a lot of response mwthods with [slash command interactions](#responding-to-a-slash-command-interaction), 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.
|
||||
|
||||

|
||||
|
||||
## Responding to a modal interaction
|
||||
|
||||
While being similar to [Component Interaction Scheme](#responding-to-a-modal-interaction), modal interactions lack the option of responding with a modal.
|
||||
|
||||

|
||||
@@ -16,6 +16,8 @@
|
||||
topicUid: FAQ.Interactions.Framework
|
||||
- name: Manual handling
|
||||
topicUid: FAQ.Interactions.Manual
|
||||
- name: Interaction response schemes
|
||||
topicUid: FAQ.Interactions.RespondingSchemes
|
||||
- name: Text Commands
|
||||
items:
|
||||
- name: Text Command basics
|
||||
|
||||
Reference in New Issue
Block a user