cleanup profiles
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 16s

This commit is contained in:
Lee
2024-06-25 12:36:40 +01:00
parent 154eac28d1
commit 679143c331
16 changed files with 65 additions and 79 deletions

View File

@ -27,7 +27,7 @@ public class PingCommand extends BatCommand {
public void execute(@NonNull BatGuild guild, @NonNull BatUser user, @NonNull TextChannel channel, @NonNull Member member, @NonNull SlashCommandInteraction interaction) {
long time = System.currentTimeMillis();
interaction.reply("Pinging...").queue(response -> {
response.editOriginal(("Gateway response time: `%sms`\nAPI response time `%sms`").formatted(
response.editOriginal("Gateway response time: `%sms`\nAPI response time `%sms`".formatted(
DiscordService.JDA.getGatewayPing(),
System.currentTimeMillis() - time
)).queue();