Browse Source

Fix images path for select menu section (#1990)

tags/3.1.0
Steven GitHub 3 years ago
parent
commit
a8b550660b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      docs/guides/int_basics/message-components/select-menus.md

+ 3
- 3
docs/guides/int_basics/message-components/select-menus.md View File

@@ -47,11 +47,11 @@ public async Task Spawn()

Running this produces this result:

![](Images/image4.png)
![](images/image4.png)

And opening the menu we see:

![](Images/image5.png)
![](images/image5.png)

Lets handle the selection of an option, We can hook the `SelectMenuExecuted` event to handle our select menu:

@@ -73,4 +73,4 @@ public async Task MyMenuHandler(SocketMessageComponent arg)

Running this produces this result:

![](Images/image6.png)
![](images/image6.png)

Loading…
Cancel
Save