Start implementing config file

This commit is contained in:
2022-11-21 20:04:28 +01:00
parent d9d0ce3236
commit 66d27fe1fe
3 changed files with 21 additions and 6 deletions

View File

@@ -67,9 +67,9 @@ public class BotInfoCommand
DecimalFormat ramMBFormatter = new DecimalFormat("#.##");
embedBuilder.addField("RAM Usage", ramMBFormatter.format(usedRamMB) + " MB", true);
// author field
String authorMention = "<@" + Configuration.getBotOwnerId() + ">";
embedBuilder.addField("Author", authorMention, true);
// developer field
String developerMention = "<@" + Configuration.getBotMaintainerId() + ">";
embedBuilder.addField("Maintainer", developerMention, true);
// uptime field
embedBuilder.addField("Uptime", FormatUtil.getNiceUptime(), true);