Annotation Interface NotRole
The annotated element must be member that doesn't have the specified guild role. This constraint will use the
TypeAdapters
to determine the role.- See Also:
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
value
String valueReturns the guild role the element must not have.- Returns:
- the guild role the element must not have.
-
message
String messageReturns the error message that will be displayed if the constraint fails.- Returns:
- the error message
- Default:
"Member has at least one role that isn't allowed"
-