Interface Categorizable

    • Method Detail

      • getCategory

        java.util.Optional<ChannelCategory> getCategory()
        Gets the category of the channel.
        Returns:
        The category of the channel.
      • updateCategory

        java.util.concurrent.CompletableFuture<java.lang.Void> updateCategory​(ChannelCategory category)
        Updates the category of the channel.
        Parameters:
        category - The new category of the channel.
        Returns:
        A future to check if the update was successful.
      • removeCategory

        java.util.concurrent.CompletableFuture<java.lang.Void> removeCategory()
        Removes the category of the channel.
        Returns:
        A future to check if the update was successful.