mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
13 lines
321 B
C#
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);
|
|
} |