DeclarationFilter

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class DeclarationFilter(val filters: KClass<out CommandDeclarationFilter>)(source)

Runs the following filters before declaring the annotated application command.

Only works on guild commands.

See also

Properties

Link copied to clipboard
@get:JvmName(name = "value")
val filters: Array<out KClass<out CommandDeclarationFilter>>