Interface IBanStorage
public interface IBanStorage
-
Method Summary
Modifier and TypeMethodDescriptiongetBans
(UserIdentity identity, @Nullable String guildMemberId) void
shutdown()
unbanIpUser
(@Nullable String guildMemberId, UserIdentity identity) Removes IP bans associated with the given identity.unbanUser
(@Nullable String guildMemberId, UserIdentity identity) Removes regular bans associated with the given identity.
-
Method Details
-
add
-
update
-
getBans
-
getUnsubmittedBans
CompletableFuture<List<Ban>> getUnsubmittedBans() -
shutdown
void shutdown()
-