namespace VpSharp.Commands.Attributes.ExecutionChecks; /// /// Specifies that this command can only be run by bots. /// public sealed class RequireBotAttribute : PreExecutionCheckAttribute { /// protected internal override Task PerformAsync(CommandContext context) { ArgumentNullException.ThrowIfNull(context); return Task.FromResult(context.Avatar.IsBot); } }