add goober-central URL and erm removed System CPU (its the same?)

This commit is contained in:
WhatDidYouExpect 2025-03-30 22:12:18 +02:00
parent 4eb1f812f2
commit d6a679b878

View file

@ -9,6 +9,7 @@ from datetime import datetime
import time
import aiohttp
from aiohttp import WSMsgType
from config import VERSION_URL
class GooberWeb(commands.Cog):
def __init__(self, bot):
@ -576,12 +577,8 @@ class GooberWeb(commands.Cog):
<span class="stat-title">RAM:</span>
<span>{stats['ram_usage']}</span>
</div>
<div class="stat-item" id="cpu-usage">
<span class="stat-title">CPU:</span>
<span>{stats['cpu_usage']}</span>
</div>
<div class="stat-item" id="system-cpu">
<span class="stat-title">System CPU:</span>
<span class="stat-title">CPU:</span>
<span>{stats['system_cpu']}</span>
</div>
<div class="stat-item" id="latency">
@ -623,6 +620,9 @@ class GooberWeb(commands.Cog):
<div id="last-command">Installed Version: {stats['localversion']}</div>
<div id="last-command">Latest Version: {stats['latestversion']}</div>
<br>
<div class="stat-title">goober-central URL</div>
<div id="last-command">{VERSION_URL}</div>
<br>
<div class="stat-title">Change song</div>
<form action="/changesong" method="get">
<input type="text" name="song" placeholder="Enter song name...">