namespace NadekoBot.Common.ModuleBehaviors; /// /// This interface's method is executed after a command was found but before it was executed. /// Able to block further processing of a command /// public interface IExecPreCommand { public int Priority { get; } /// /// /// Ran after a command was found but before execution. /// /// → /// → /// ** → /// [ | ] /// /// Command context /// Name of the module /// Command info /// Whether further processing of the command is blocked Task ExecPreCommandAsync(ICommandContext context, string moduleName, CommandInfo command); }