Added version in the debug

This commit is contained in:
Choco
2024-04-18 15:16:05 +08:00
parent 0189c1985f
commit abf97b4375
2 changed files with 2 additions and 2 deletions

View File

@@ -259,7 +259,8 @@ class Settings(commands.Cog, name="settings"):
embed.add_field(
name="🤖 Bot Information",
value=f"```• LATENCY: {self.bot.latency:.2f}ms\n" \
value=f"```• VERSION: {func.settings.version}\n" \
f"• LATENCY: {self.bot.latency:.2f}ms\n" \
f"• GUILDS: {len(self.bot.guilds)}\n" \
f"• USERS: {sum([guild.member_count for guild in self.bot.guilds])}\n" \
f"• PLAYERS: {len(self.bot.voice_clients)}```",

View File

@@ -22,7 +22,6 @@ SOFTWARE.
"""
import discord
import function
import io
import contextlib
import textwrap