Linefeeds in DebugFeature
This commit is contained in:
parent
d6320bb5de
commit
31c5cd7135
|
@ -21,15 +21,11 @@ class DebugFeature : MessageFeature() {
|
|||
val osBean = ManagementFactory.getPlatformMXBean(OperatingSystemMXBean::class.java)
|
||||
val runtime = Runtime.getRuntime()
|
||||
return MessageUtil.listToEmbed(
|
||||
listOf(
|
||||
"Bot:",
|
||||
getBotStats(),
|
||||
"Memory:",
|
||||
getMemoryInfo(runtime, osBean),
|
||||
"CPU:",
|
||||
getCpuInfo(osBean),
|
||||
"System:",
|
||||
getOsInfo()
|
||||
listOf(
|
||||
"Bot:", getBotStats(),
|
||||
"Memory:", getMemoryInfo(runtime, osBean),
|
||||
"CPU:", getCpuInfo(osBean),
|
||||
"System:", getOsInfo()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user