refactor(commands/bot/status): show yt-dlp version
This commit is contained in:
parent
5bdfddbbbd
commit
7f07e1bd71
@ -4,6 +4,7 @@ import time
|
||||
|
||||
import disnake
|
||||
import psutil
|
||||
from yt_dlp import version
|
||||
|
||||
import arguments
|
||||
import commands
|
||||
@ -27,7 +28,7 @@ async def status(message):
|
||||
value=f"```{round(client.latency * 1000, 1)} ms```",
|
||||
)
|
||||
embed.add_field(
|
||||
name="RSS",
|
||||
name="Memory",
|
||||
value=f"```{round(memory_usage, 1)} MiB```",
|
||||
)
|
||||
embed.add_field(
|
||||
@ -46,14 +47,14 @@ async def status(message):
|
||||
name="Channels",
|
||||
value=f"```{channel_count}```",
|
||||
)
|
||||
embed.add_field(
|
||||
name="Commands",
|
||||
value=f"```{len(commands.Command.__members__)}```",
|
||||
)
|
||||
embed.add_field(
|
||||
name="Disnake",
|
||||
value=f"```{disnake.__version__}```",
|
||||
)
|
||||
embed.add_field(
|
||||
name="yt-dlp",
|
||||
value=f"```{version.__version__}```",
|
||||
)
|
||||
embed.add_field(
|
||||
name="Uptime",
|
||||
value=f"```{utils.format_duration(int(time.time() - start_time), short=True)}```",
|
||||
|
Loading…
x
Reference in New Issue
Block a user