Skip to content

Commit

Permalink
[Docs] Switch some images from PNG to SVG (#2939)
Browse files Browse the repository at this point in the history
* Channel inheritance tree

* more svgs + some minor docs adjustments
  • Loading branch information
Misha-133 authored Jun 2, 2024
1 parent e50e79d commit 51f59bf
Show file tree
Hide file tree
Showing 9 changed files with 1,842 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/faq/basics/channel-inheritance-tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ uid: FAQ.Basics.ChannelInheritance
title: Channel Inheritance
---

# Discord.Net channel inheritance tree
# Discord.NET channel inheritance tree

![`IChannel` interface inheritance tree](images/channel-interface-tree.png)
![`IChannel` interface inheritance tree](images/channel-interface-tree.svg)
353 changes: 353 additions & 0 deletions docs/faq/basics/images/channel-interface-tree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
528 changes: 528 additions & 0 deletions docs/faq/int_framework/images/response-scheme-component.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
526 changes: 526 additions & 0 deletions docs/faq/int_framework/images/response-scheme-modal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
429 changes: 429 additions & 0 deletions docs/faq/int_framework/images/response-scheme-slash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/faq/int_framework/respondings-schemes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 51f59bf

Please sign in to comment.