Updated dependencies.
This commit is contained in:
@@ -8,8 +8,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.javacord:javacord:3.5.0'
|
||||
implementation 'redis.clients:jedis:3.9.0'
|
||||
implementation 'org.javacord:javacord:3.6.0'
|
||||
implementation 'redis.clients:jedis:4.3.0'
|
||||
|
||||
implementation 'org.slf4j:slf4j-simple:1.7.36'
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public final class ServerJoin implements ServerJoinListener {
|
||||
embed.setFooter(event.getApi().getServers().size() + " total servers");
|
||||
|
||||
// Send this embed to the bot owner.
|
||||
event.getApi().getOwner().thenAcceptAsync((owner) -> owner.sendMessage(embed).exceptionally(ExceptionLogger.get()));
|
||||
event.getApi().getOwner().ifPresent((owner) -> owner.thenAcceptAsync((user) -> user.sendMessage(embed).exceptionally(ExceptionLogger.get())));
|
||||
|
||||
// Queue all text channels for message history ingestion.
|
||||
server.getTextChannels().forEach((channel) -> {
|
||||
|
||||
Reference in New Issue
Block a user