From b1023e3ba01006259bf819067ba1c389a0092423 Mon Sep 17 00:00:00 2001 From: Still Hsu <341464@gmail.com> Date: Sun, 17 Feb 2019 12:31:31 +0800 Subject: [PATCH] Update CommandExecuted remarks --- src/Discord.Net.Commands/CommandService.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Discord.Net.Commands/CommandService.cs b/src/Discord.Net.Commands/CommandService.cs index 94f2636ee..3a7da3862 100644 --- a/src/Discord.Net.Commands/CommandService.cs +++ b/src/Discord.Net.Commands/CommandService.cs @@ -39,15 +39,8 @@ namespace Discord.Commands /// Occurs when a command is successfully executed without any error. /// /// - /// - /// This event is fired when a command has been successfully executed without any of the following errors: - /// - /// * Parsing error - /// * Precondition error - /// * Runtime exception - /// - /// Should the command encounter any of the aforementioned error, this event will not be raised. - /// + /// This event is fired when a command has been executed, successfully or not. When a command fails to + /// execute during parsing or precondition stage, the CommandInfo may not be returned. /// public event Func, ICommandContext, IResult, Task> CommandExecuted { add { _commandExecutedEvent.Add(value); } remove { _commandExecutedEvent.Remove(value); } } internal readonly AsyncEvent, ICommandContext, IResult, Task>> _commandExecutedEvent = new AsyncEvent, ICommandContext, IResult, Task>>();