diff --git a/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java b/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java index 027154456..3827bcf26 100644 --- a/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java +++ b/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java @@ -2172,7 +2172,7 @@ default CompletableFuture banUser(User user, Duration duration, String rea * @return A future to check if the ban was successful. */ default CompletableFuture banUser(String userId) { - return banUser(userId, null); + return banUser(userId, Duration.ZERO); } /**