Refactor code and packages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-21 15:02:40 +01:00
parent cdc45d62f2
commit e9f475cb59
6 changed files with 61 additions and 48 deletions

View File

@@ -6,6 +6,7 @@ import net.dv8tion.jda.api.interactions.commands.Command;
import org.jetbrains.annotations.NotNull;
import wtf.beatrice.hidekobot.Configuration;
import wtf.beatrice.hidekobot.HidekoBot;
import wtf.beatrice.hidekobot.utils.TimeUtil;
import java.lang.management.ManagementFactory;
import java.text.DecimalFormat;
@@ -74,7 +75,7 @@ public class BotInfoCommand
embedBuilder.addField("Author", authorMention, true);
// uptime field
embedBuilder.addField("Uptime", Configuration.getNiceUptime(), true);
embedBuilder.addField("Uptime", TimeUtil.getNiceUptime(), true);
// issue tracker field
embedBuilder.addField("Support",