From 7f07e1bd71b6cdbee7f937c7495b3c3248d8dfa3 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Tue, 14 Jan 2025 23:40:12 -0500 Subject: [PATCH] refactor(commands/bot/status): show yt-dlp version --- commands/bot.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/commands/bot.py b/commands/bot.py index 2516bfc..6d8ea91 100644 --- a/commands/bot.py +++ b/commands/bot.py @@ -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)}```",