Fix typos in comments and documentation (#2608)
* Fix typos in comments and documentations * Fixes more typo
This commit is contained in:
@@ -9,7 +9,7 @@ Build overrides are a way for library developers to override the default behavio
|
||||
|
||||
## Installing the package
|
||||
|
||||
The build override package can be installed on nuget [here](TODO) or by using the package manager
|
||||
The build override package can be installed on nuget [here](https://www.nuget.org/packages/Discord.Net.BuildOverrides) or by using the package manager
|
||||
|
||||
```
|
||||
PM> Install-Package Discord.Net.BuildOverrides
|
||||
@@ -21,7 +21,7 @@ PM> Install-Package Discord.Net.BuildOverrides
|
||||
public async Task MainAsync()
|
||||
{
|
||||
// hook into the log function
|
||||
BuildOverrides.Log += (buildOverride, message) =>
|
||||
BuildOverrides.Log += (buildOverride, message) =>
|
||||
{
|
||||
Console.WriteLine($"{buildOverride.Name}: {message}");
|
||||
return Task.CompletedTask;
|
||||
@@ -37,5 +37,5 @@ Overrides are normally built for specific problems, for example if someone is ha
|
||||
|
||||
## Security and Transparency
|
||||
|
||||
Overrides can only be created and updated by library developers, you should only apply an override if a library developer askes you to.
|
||||
Code for the overrides server and the overrides themselves can be found [here](https://github.com/discord-net/Discord.Net.BuildOverrides).
|
||||
Overrides can only be created and updated by library developers, you should only apply an override if a library developer asks you to.
|
||||
Code for the overrides server and the overrides themselves can be found [here](https://github.com/discord-net/Discord.Net.BuildOverrides).
|
||||
|
||||
@@ -13,12 +13,12 @@ as well as users that register and handle commands manually.
|
||||
|
||||
The difference between these 3 functions is in how you handle the command response.
|
||||
[RespondAsync] and
|
||||
[DeferAsync] let the API know you have succesfully received the command. This is also called 'acknowledging' a command.
|
||||
[DeferAsync] let the API know you have successfully received the command. This is also called 'acknowledging' a command.
|
||||
DeferAsync will not send out a response, RespondAsync will.
|
||||
[FollowupAsync] follows up on succesful acknowledgement.
|
||||
[FollowupAsync] follows up on successful acknowledgement.
|
||||
|
||||
> [!WARNING]
|
||||
> If you have not acknowledged the command FollowupAsync will not work! the interaction has not been resonded to, so you cannot follow it up!
|
||||
> If you have not acknowledged the command FollowupAsync will not work! the interaction has not been responded to, so you cannot follow it up!
|
||||
|
||||
[RespondAsync]: xref:Discord.IDiscordInteraction
|
||||
[DeferAsync]: xref:Discord.IDiscordInteraction
|
||||
|
||||
Reference in New Issue
Block a user