Package com.github.kaktushose.jda.commands.annotations.constraints


package com.github.kaktushose.jda.commands.annotations.constraints
All annotations needed for parameter validation.
  • Annotation Interfaces
    Class
    Description
    Indicates that an annotation type can be used for parameter validation.
    The annotated element must be a number whose value must be less or equal to the specified maximum.
    The annotated element must be a number whose value must be greater or equal to the specified minimum.
    The annotated element must be a user or member that doesn't have the specified discord permission.
    The annotated element must be member that doesn't have the specified guild role.
    The annotated element must not be the specified user or member.
    The annotated element must be a user or member that have the specified discord permission.
    The annotated element must be member that have the specified guild role.
    The annotated element must be the specified user or member.