Files
Discord.Net/docs
Almighty-Shogun 7d8911bfed Fixed documentation typo's (#2127)
* Fixed typo at line 39

On this code example for the documentation there was a typo on the README.md file at line 39. There was an `;` where there should not be one.

The code that had the typo:

```cs
var tb = new TextInputBuilder()
    .WithLabel("Labeled")
    .WithCustomId("text_input")
    .WithStyle(TextInputStyle.Paragraph)
    .WithMinLength(6); // This ";" does not belong here.
    .WithMaxLength(42)
    .WithRequired(true)
    .WithPlaceholder("Consider this place held.");
```

* Changed `ExecuteAsync` to `ExecuteCommandAsync`

`_interactionService.ExecuteAsync(ctx, serviceProvider);` cannot be executed because the method `ExecuteAsync` does not exists.

* Changed `componBuild()` to `components.Build()`
2022-03-02 15:07:15 -04:00
..
2021-12-13 04:47:54 -04:00
2021-12-13 04:47:54 -04:00
2018-09-30 17:44:33 -04:00
2022-03-02 15:07:15 -04:00
2019-05-13 18:29:47 -04:00
2022-02-16 10:54:21 -04:00
2018-09-30 17:44:33 -04:00
2021-12-13 04:47:54 -04:00

Instructions for Building Documentation

The documentation for the Discord.Net library uses DocFX. Instructions for installing this tool can be found here.

  1. Navigate to the root of the repository.
  2. Build the docs using docfx docs/docfx.json. Add the --serve parameter to preview the site locally. Some elements of the page may appear incorrectly when hosted offline.

Please note that if you intend to target a specific version, ensure that you have the correct version checked out.