Fix typos in comments and documentation (#2608)
* Fix typos in comments and documentations * Fixes more typo
This commit is contained in:
@@ -589,7 +589,7 @@ namespace Discord.Commands
|
||||
|
||||
var executeResult = await matchResult.Match.Value.ExecuteAsync(context, parseResult, services);
|
||||
|
||||
if (!executeResult.IsSuccess && !(executeResult is RuntimeResult || executeResult is ExecuteResult)) // succesful results raise the event in CommandInfo#ExecuteInternalAsync (have to raise it there b/c deffered execution)
|
||||
if (!executeResult.IsSuccess && !(executeResult is RuntimeResult || executeResult is ExecuteResult)) // successful results raise the event in CommandInfo#ExecuteInternalAsync (have to raise it there b/c deferred execution)
|
||||
await _commandExecutedEvent.InvokeAsync(matchResult.Match.Value.Command, context, executeResult);
|
||||
return executeResult;
|
||||
}
|
||||
|
||||
@@ -17,19 +17,19 @@ namespace Discord.Commands
|
||||
/// <summary>
|
||||
/// Executed asynchronously before a command is run in this module base.
|
||||
/// </summary>
|
||||
/// <param name="command">The command thats about to run.</param>
|
||||
/// <param name="command">The command that's about to run.</param>
|
||||
Task BeforeExecuteAsync(CommandInfo command);
|
||||
|
||||
/// <summary>
|
||||
/// Executed before a command is run in this module base.
|
||||
/// </summary>
|
||||
/// <param name="command">The command thats about to run.</param>
|
||||
/// <param name="command">The command that's about to run.</param>
|
||||
void BeforeExecute(CommandInfo command);
|
||||
|
||||
/// <summary>
|
||||
/// Executed asynchronously after a command is run in this module base.
|
||||
/// </summary>
|
||||
/// <param name="command">The command thats about to run.</param>
|
||||
/// <param name="command">The command that's about to run.</param>
|
||||
Task AfterExecuteAsync(CommandInfo command);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user