From 4ec67106dd3787fbf1d1325ef051261ecbc4863b Mon Sep 17 00:00:00 2001 From: Plexi09 Date: Sat, 4 Jan 2025 01:08:58 +0100 Subject: [PATCH] Added the cluster to the data format --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 72b6c83..acba3e8 100644 --- a/bot.py +++ b/bot.py @@ -152,8 +152,8 @@ async def info(interaction: discord.Interaction): logger.info(f"Commande info utilisée par {interaction.user}") data = load_data() - cluster = data.get("info", {}).get("cluster", "N/A") - shard = data.get("info", {}).get("shard", "N/A") + cluster = data.get("info", {}).get("cluster", "main") + shard = data.get("info", {}).get("shard", "0") uptime = get_uptime() embed = discord.Embed(title="Informations du Bot", color=discord.Color.green())