Uses of Class
org.javacord.api.interaction.SlashCommandPermissionType
-
Packages that use SlashCommandPermissionType Package Description org.javacord.api.interaction org.javacord.api.interaction.internal -
-
Uses of SlashCommandPermissionType in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return SlashCommandPermissionType Modifier and Type Method Description static SlashCommandPermissionTypeSlashCommandPermissionType. fromValue(int value)Gets anSlashCommandPermissionTypeby its value.SlashCommandPermissionTypeSlashCommandPermissions. getType()static SlashCommandPermissionTypeSlashCommandPermissionType. valueOf(String name)Returns the enum constant of this type with the specified name.static SlashCommandPermissionType[]SlashCommandPermissionType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.javacord.api.interaction with parameters of type SlashCommandPermissionType Modifier and Type Method Description SlashCommandPermissionsUpdaterSlashCommandPermissionsUpdater. addPermission(long id, SlashCommandPermissionType type, boolean permission)Add the permission to the slash command updater.static SlashCommandPermissionsSlashCommandPermissions. create(long id, SlashCommandPermissionType type, boolean permission)Creates an slash command permissions which can be used bySlashCommandPermissionsUpdaterto update the permission.SlashCommandPermissionsBuilderSlashCommandPermissionsBuilder. setType(SlashCommandPermissionType type)Sets the type of the slash command permissions. -
Uses of SlashCommandPermissionType in org.javacord.api.interaction.internal
Methods in org.javacord.api.interaction.internal with parameters of type SlashCommandPermissionType Modifier and Type Method Description voidSlashCommandPermissionsBuilderDelegate. setType(SlashCommandPermissionType type)Sets the type of the slash command permissions.
-