Uses of Interface
org.javacord.api.interaction.SlashCommandPermissions
-
Packages that use SlashCommandPermissions Package Description org.javacord.api.interaction org.javacord.api.interaction.internal -
-
Uses of SlashCommandPermissions in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return SlashCommandPermissions Modifier and Type Method Description SlashCommandPermissionsSlashCommandPermissionsBuilder. build()Builds the slash command permissions.static SlashCommandPermissionsSlashCommandPermissions. create(long id, SlashCommandPermissionType type, boolean permission)Creates an slash command permissions which can be used bySlashCommandPermissionsUpdaterto update the permission.Methods in org.javacord.api.interaction that return types with arguments of type SlashCommandPermissions Modifier and Type Method Description List<SlashCommandPermissions>ServerSlashCommandPermissions. getPermissions()Gets the permissions of this server slash command permissions.List<SlashCommandPermissions>ServerSlashCommandPermissionsBuilder. getPermissions()Gets a list of the slash command permissions.Methods in org.javacord.api.interaction with parameters of type SlashCommandPermissions Modifier and Type Method Description SlashCommandPermissionsUpdaterSlashCommandPermissionsUpdater. addPermission(SlashCommandPermissions permission)Add the permission to the slash command updater.Method parameters in org.javacord.api.interaction with type arguments of type SlashCommandPermissions Modifier and Type Method Description SlashCommandPermissionsUpdaterSlashCommandPermissionsUpdater. addPermissions(List<SlashCommandPermissions> permissions)Adds the permissions to the slash command updater.SlashCommandPermissionsUpdaterSlashCommandPermissionsUpdater. setPermissions(List<SlashCommandPermissions> permissions)Sets the permissions of the slash command updater.Constructor parameters in org.javacord.api.interaction with type arguments of type SlashCommandPermissions Constructor Description ServerSlashCommandPermissionsBuilder(long commandId, List<SlashCommandPermissions> permissions)Creates an instance of this server slash command permissions builder. -
Uses of SlashCommandPermissions in org.javacord.api.interaction.internal
Methods in org.javacord.api.interaction.internal that return SlashCommandPermissions Modifier and Type Method Description SlashCommandPermissionsSlashCommandPermissionsBuilderDelegate. build()Builds the slash command permissions.Methods in org.javacord.api.interaction.internal with parameters of type SlashCommandPermissions Modifier and Type Method Description voidSlashCommandPermissionsUpdaterDelegate. addPermission(SlashCommandPermissions permission)Adds the permission to the slash command updater.Method parameters in org.javacord.api.interaction.internal with type arguments of type SlashCommandPermissions Modifier and Type Method Description voidSlashCommandPermissionsUpdaterDelegate. addPermissions(List<SlashCommandPermissions> permissions)Add the permissions to the slash command updater.voidSlashCommandPermissionsUpdaterDelegate. setPermissions(List<SlashCommandPermissions> permissions)Sets the permissions of the slash command updater.
-