diff --git a/src/main/java/net/dv8tion/jda/api/utils/ImageProxy.java b/src/main/java/net/dv8tion/jda/api/utils/ImageProxy.java index 45520a7d35..5adeae004f 100644 --- a/src/main/java/net/dv8tion/jda/api/utils/ImageProxy.java +++ b/src/main/java/net/dv8tion/jda/api/utils/ImageProxy.java @@ -200,6 +200,7 @@ public CompletableFuture downloadToPath(@Nonnull Path path, int size) * @return {@link CompletableFuture} which holds an {@link Icon}. */ @Nonnull + @CheckReturnValue public CompletableFuture downloadAsIcon() { return downloadAsIcon(getUrl()); @@ -221,6 +222,7 @@ public CompletableFuture downloadAsIcon() * @return {@link CompletableFuture} which holds an {@link Icon}. */ @Nonnull + @CheckReturnValue public CompletableFuture downloadAsIcon(int size) { return downloadAsIcon(getUrl(size));