using System; using System.Threading.Tasks; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)] public abstract class ParameterPreconditionAttribute : Attribute { public abstract Task CheckPermissions(CommandContext context, ParameterInfo parameter, object value); } }