namespace NadekoBot;
///
/// Interaction which only the author can use
///
public abstract class NadekoButtonOwnInteraction : NadekoButtonInteraction
{
protected readonly ulong _authorId;
protected NadekoButtonOwnInteraction(DiscordSocketClient client, ulong authorId) : base(client)
=> _authorId = authorId;
protected override ValueTask Validate(SocketMessageComponent smc)
=> new(smc.User.Id == _authorId);
}