mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-11 22:18:27 -06:00
Fix a dumb I did.
This commit is contained in:
@@ -63,7 +63,7 @@ public class NetworkInfo {
|
||||
return DatabaseManager.getManager().getAnnouncementCount();
|
||||
}
|
||||
|
||||
private static String humanReadableUptime() {
|
||||
public String getUptime() {
|
||||
RuntimeMXBean mxBean = ManagementFactory.getRuntimeMXBean();
|
||||
Interval interval = new Interval(mxBean.getStartTime(), System.currentTimeMillis());
|
||||
Period period = interval.toPeriod();
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<h2>Server</h2>
|
||||
<p th:text="'Connected Clients: ' + ${status.clientCount}"></p>
|
||||
<p th:text="'Uptime: ' + ${status.humanReadableUptime}"></p>
|
||||
<p th:text="'Uptime: ' + ${status.uptime}"></p>
|
||||
<p th:text="'Total Guilds: ' + ${status.totalGuildCount}"></p>
|
||||
<p th:text="'Total Calendars: ' + ${status.calendarCount}"></p>
|
||||
<p th:text="'Total Announcements: ' + ${status.announcementCount}"></p>
|
||||
|
||||
Reference in New Issue
Block a user