|
@@ -6,6 +6,6 @@ namespace Discord.Commands |
|
|
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)] |
|
|
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)] |
|
|
public abstract class ParameterPreconditionAttribute : Attribute |
|
|
public abstract class ParameterPreconditionAttribute : Attribute |
|
|
{ |
|
|
{ |
|
|
public abstract Task<PreconditionResult> CheckPermissions(CommandContext context, ParameterInfo parameter, object value); |
|
|
|
|
|
|
|
|
public abstract Task<PreconditionResult> CheckPermissions(CommandContext context, ParameterInfo parameter, object value, IDependencyMap map); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |