NadekoBot/NadekoBot.Core/Common/ModuleBehaviors/IEarlyBlocker.cs

14 lines
327 B
C#
Raw Normal View History

2017-07-17 19:42:36 +00:00
using System.Threading.Tasks;
using Discord;
2017-07-17 19:42:36 +00:00
namespace NadekoBot.Common.ModuleBehaviors
{
/// <summary>
/// Implemented by modules which block execution before anything is executed
/// </summary>
public interface IEarlyBlocker
{
2017-05-29 23:53:16 +00:00
Task<bool> TryBlockEarly(IGuild guild, IUserMessage msg);
}
}