Annotation Interface NotPerm
The annotated element must be a user or member that doesn't have the specified discord permission.
- See Also:
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
value
String[] valueReturns the discord permission(s) the element must not have.- Returns:
- the discord permission(s) 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 or User has at least one permission that isn't allowed"
-