diff --git a/src/main/java/net/dv8tion/jda/api/entities/Guild.java b/src/main/java/net/dv8tion/jda/api/entities/Guild.java index 2e553787ee..666d840f0d 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/Guild.java +++ b/src/main/java/net/dv8tion/jda/api/entities/Guild.java @@ -3722,7 +3722,7 @@ default AuditableRestAction kick(@Nonnull UserSnowflake user, @Nullable St */ @Nonnull @CheckReturnValue - AuditableRestAction ban(@Nonnull Collection users, @Nullable Duration deletionTime); + AuditableRestAction ban(@Nonnull Collection users, @Nullable Duration deletionTime); /** * Bans up to 200 of the provided users. @@ -3763,7 +3763,7 @@ default AuditableRestAction kick(@Nonnull UserSnowflake user, @Nullable St */ @Nonnull @CheckReturnValue - default AuditableRestAction ban(@Nonnull Collection users, int deletionTimeframe, @Nonnull TimeUnit unit) + default AuditableRestAction ban(@Nonnull Collection users, int deletionTimeframe, @Nonnull TimeUnit unit) { Checks.notNull(unit, "TimeUnit"); return ban(users, Duration.ofSeconds(unit.toSeconds(deletionTimeframe))); diff --git a/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java b/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java index 9965195cd2..2ab78beceb 100644 --- a/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java +++ b/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java @@ -1548,7 +1548,7 @@ public AuditableRestAction ban(@Nonnull UserSnowflake user, int duration, @Nonnull @Override - public AuditableRestAction ban(@Nonnull Collection users, @Nullable Duration deletionTime) + public AuditableRestAction ban(@Nonnull Collection users, @Nullable Duration deletionTime) { deletionTime = deletionTime == null ? Duration.ZERO : deletionTime; Checks.noneNull(users, "Users");