Interface Categorizable

    • Method Detail

      • getCategory

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

        CompletableFuture<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

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