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 4591a1cf5..89f05620f 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); } /**