mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
19 lines
667 B
C#
19 lines
667 B
C#
namespace NadekoBot.Common.ModuleBehaviors;
|
|
|
|
/// <summary>
|
|
/// Executed if no command was found for this message
|
|
/// </summary>
|
|
public interface IExecNoCommand
|
|
{
|
|
/// <summary>
|
|
/// Executed at the end of the lifecycle if no command was found
|
|
/// <see cref="IExecOnMessage"/> →
|
|
/// <see cref="IInputTransformer"/> →
|
|
/// <see cref="IExecPreCommand"/> →
|
|
/// [<see cref="IExecPostCommand"/> | *<see cref="IExecNoCommand"/>*]
|
|
/// </summary>
|
|
/// <param name="guild"></param>
|
|
/// <param name="msg"></param>
|
|
/// <returns>A task representing completion</returns>
|
|
Task ExecOnNoCommandAsync(IGuild guild, IUserMessage msg);
|
|
} |