Initial split of the modules
This commit is contained in:
13
NadekoBot.Core/Common/ModuleBehaviors/IEarlyBlocker.cs
Normal file
13
NadekoBot.Core/Common/ModuleBehaviors/IEarlyBlocker.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using Discord;
|
||||
|
||||
namespace NadekoBot.Common.ModuleBehaviors
|
||||
{
|
||||
/// <summary>
|
||||
/// Implemented by modules which block execution before anything is executed
|
||||
/// </summary>
|
||||
public interface IEarlyBlocker
|
||||
{
|
||||
Task<bool> TryBlockEarly(IGuild guild, IUserMessage msg);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user