You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
server.createTextChannelBuilder()
.setName("new-channel")
.create()
.thenAcceptAsync(channel -> {
// This code is already running async, so you can safely use join() hereMessagemessage = channel.sendMessage("First!").join();
message.addReaction("👍").join();
});
thenAcceptAsync(...) and other async methods use the ForkJoinPool.commonPool() by default. This pool is bound to the nuber of cpu cores and is not meant to be used for blocking operations.