Browse Source

Unneeded build event

Build() at the end of the command creation isn't needed. The build is done on line 34.
pull/2158/head
Cookiezzz Quin Lynch 3 years ago
parent
commit
fd987ca3f4
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