@ConvertedBy(value=RequiredPermissions.Converter.class) @Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface RequiredPermissions
Annotation
that lists
required Permission
s a bot must have
to use a command on a Guild
.Modifier and Type | Required Element and Description |
---|---|
net.dv8tion.jda.core.Permission[] |
value
An array of
Permission s
a bot must have to run the command. |