code: public CompletableFuture<BufferedImage> asBufferedImage(DiscordApi api) {
          return asByteArray(api)
                  .thenApply(ByteArrayInputStream::new)
                  .thenApply(stream -> {
                      try {
                          return ImageIO.read(stream);
                      } catch (IOException e) {
                          throw new CompletionException(e);
                      }
                  });
      }
docs: Gets the file as {@link BufferedImage}.
  
  @param api The discord api instance.
  @return The file as BufferedImage.