Merge pull request 'Update embed text formatting' (#4) from experimental into main
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 25s

Reviewed-on: #4
This commit is contained in:
2025-09-26 12:40:59 +00:00

View File

@@ -804,7 +804,7 @@ class PterodactylBot(commands.Bot):
# Create dedicated usage text box with current usage and limits in monospace font # Create dedicated usage text box with current usage and limits in monospace font
usage_text = ( usage_text = (
f"```\n" f"```properties\n"
f"CPU: {cpu_usage:>8} / {format_limit(cpu_limit, ' %')}\n" f"CPU: {cpu_usage:>8} / {format_limit(cpu_limit, ' %')}\n"
f"Memory: {memory_usage:>8} / {format_limit(memory_limit, ' MB')}\n" f"Memory: {memory_usage:>8} / {format_limit(memory_limit, ' MB')}\n"
f"Disk: {disk_usage:>8} / {format_limit(disk_limit, ' MB')}\n" f"Disk: {disk_usage:>8} / {format_limit(disk_limit, ' MB')}\n"