using System.Threading.Tasks; using Discord; using Discord.WebSocket; namespace NadekoBot.Common.ModuleBehaviors { /// /// Implemented by modules which block execution before anything is executed /// public interface IEarlyBehavior { int Priority { get; } ModuleBehaviorType BehaviorType { get; } Task RunBehavior(DiscordSocketClient client, IGuild guild, IUserMessage msg); } public enum ModuleBehaviorType { Blocker, Executor, } }