Browse Source

Unneeded build event (#2158)

Build() at the end of the command creation isn't needed. The build is done on line 34.

Co-authored-by: Cookiezzz <Cookiezzz@users.noreply.github.com>
tags/3.4.0
Quin Lynch GitHub 3 years ago
parent
commit
36d6ce9ec8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/int_basics/application-commands/slash-commands/choice-slash-command.md

+ 1
- 1
docs/guides/int_basics/application-commands/slash-commands/choice-slash-command.md View File

@@ -27,7 +27,7 @@ private async Task Client_Ready()
.AddChoice("Lovely", 4)
.AddChoice("Excellent!", 5)
.WithType(ApplicationCommandOptionType.Integer)
).Build();
);

try
{


Loading…
Cancel
Save