Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris committed Jul 9, 2024
1 parent 931f29b commit a4c9814
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@

import java.io.IOException;
import java.net.InetSocketAddress;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -172,9 +170,9 @@ private MessageEmbed handle(String ip, Integer port) {
}

return new EmbedBuilder()
.setTitle("Pinging server " + ip + (port != null ? " - " + port : ""))
.addField("Java", javaInfo, false)
.addField("Bedrock", bedrockInfo, false)
.setTitle("Pinging server " + ip)
.addField("Java (" + jePort + ")", javaInfo, false)
.addField("Bedrock (" + bePort + ")", bedrockInfo, false)
.setColor(success ? BotColors.SUCCESS.getColor() : BotColors.FAILURE.getColor())
.build();
}
Expand Down

0 comments on commit a4c9814

Please sign in to comment.