Fix general typos (#852)
This commit is contained in:
@@ -74,7 +74,7 @@ async main.
|
||||
|
||||
[!code-csharp[Async Context](samples/intro/async-context.cs)]
|
||||
|
||||
As a result of this, your program will now start and immidiately
|
||||
As a result of this, your program will now start and immediately
|
||||
jump into an async context. This will allow us to create a connection
|
||||
to Discord later on without needing to worry about setting up the
|
||||
correct async implementation.
|
||||
|
||||
@@ -80,7 +80,7 @@ class Program
|
||||
|
||||
private async Task MainAsync()
|
||||
{
|
||||
// Centralize the logic for commands into a seperate method.
|
||||
// Centralize the logic for commands into a separate method.
|
||||
await InitCommands();
|
||||
|
||||
// Login and connect.
|
||||
@@ -138,7 +138,7 @@ class Program
|
||||
var context = new SocketCommandContext(_client, msg);
|
||||
|
||||
// Execute the command. (result does not indicate a return value,
|
||||
// rather an object stating if the command executed succesfully).
|
||||
// rather an object stating if the command executed successfully).
|
||||
var result = await _commands.ExecuteAsync(context, pos, _services);
|
||||
|
||||
// Uncomment the following lines if you want the bot
|
||||
|
||||
Reference in New Issue
Block a user