Browse Source

Update 07-choice-slash-command.md

pull/1923/head
Quin Lynch GitHub 4 years ago
parent
commit
794ae13b1c
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/slash-commands/07-choice-slash-command.md

+ 3
- 3
docs/guides/slash-commands/07-choice-slash-command.md View File

@@ -1,8 +1,8 @@
# Slash Command Choices.

With slash command options you can add choices, making the user select between some set values. Lets create a command that ask how much they like our bot!
With slash command options you can add choices, making the user select between some set values. Lets create a command that asks how much they like our bot!

Lets set up our slash command:
Let's set up our slash command:

```cs
private async Task Client_Ready()
@@ -78,6 +78,6 @@ private async Task HandleFeedbackCommand(SocketSlashCommand command)
}
```

And this is the result!
And this is the result:

![feedback working](images/feedback2.png)

Loading…
Cancel
Save