mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Gambling moved to a separate project. Project builds
This commit is contained in:
15
src/Nadeko.Bot.Common/IPermissionChecker.cs
Normal file
15
src/Nadeko.Bot.Common/IPermissionChecker.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using NadekoBot;
|
||||
using NadekoBot.Services;
|
||||
using OneOf;
|
||||
using OneOf.Types;
|
||||
|
||||
namespace Nadeko.Bot.Common;
|
||||
|
||||
public interface IPermissionChecker
|
||||
{
|
||||
Task<OneOf<Success, Error<LocStr>>> CheckAsync(IGuild guild,
|
||||
IMessageChannel channel,
|
||||
IUser author,
|
||||
string module,
|
||||
string cmd);
|
||||
}
|
Reference in New Issue
Block a user