Files
nadekobot/src/NadekoBot/Common/ModuleBehaviors/IEarlyBehavior.cs
2021-12-19 05:14:11 +01:00

13 lines
321 B
C#

using System.Threading.Tasks;
using Discord;
namespace NadekoBot.Common.ModuleBehaviors;
/// <summary>
/// Implemented by modules which block execution before anything is executed
/// </summary>
public interface IEarlyBehavior
{
int Priority { get; }
Task<bool> RunBehavior(IGuild guild, IUserMessage msg);
}