[Docs] Switch some images from PNG to SVG (#2939)

* Channel inheritance tree

* more svgs + some minor docs adjustments
This commit is contained in:
Mihail Gribkov
2024-06-02 15:02:48 +03:00
committed by GitHub
parent e50e79d9dd
commit 51f59bf185
9 changed files with 1842 additions and 6 deletions

View File

@@ -14,19 +14,19 @@ Slash command interactions support the most commonly used response methods.
> [!NOTE]
> Same scheme applies to context command interactions.
![Slash command interaction](images/response-scheme-slash.png)
![Slash command interaction](images/response-scheme-slash.svg)
## 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.
Component interactions share a lot of response methods 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.
![Slash command interaction](images/response-scheme-component.png)
![Component interaction](images/response-scheme-component.svg)
## 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.
![Slash command interaction](images/response-scheme-modal.png)
![Modal interaction](images/response-scheme-modal.svg)