Skip to content

Commit

Permalink
Added the cluster to the data format
Browse files Browse the repository at this point in the history
  • Loading branch information
Plexi09 committed Jan 4, 2025
1 parent d39ffa8 commit 4ec6710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 4ec6710

Please sign in to comment.