From 9d8ad73c51a456520a4c2def344a20d7cb3b5ac8 Mon Sep 17 00:00:00 2001 From: insert Date: Mon, 21 Jul 2025 23:16:33 -0400 Subject: [PATCH] feat: update team embed with new information --- cogs/team.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/team.py b/cogs/team.py index becd4e1..22c751b 100644 --- a/cogs/team.py +++ b/cogs/team.py @@ -294,8 +294,9 @@ class team(commands.Cog): if i["_id"] == teamid: break color = tuple(int(data["Color"][i:i+2], 16) for i in (0, 2, 4)) - embed = nextcord.Embed(title=f"{data["Location"]} {data["Name"]} {data["Emoji"]}", description=f"{data["Motto"]}", colour = nextcord.Color.from_rgb(color[0], color[1], color[2])) + embed = nextcord.Embed(title=f"{data["Location"]} {data["Name"]} {data["Emoji"]}",description=f"{"Inactive" if not data['Active'] else "Active"}", colour = nextcord.Color.from_rgb(color[0], color[1], color[2])) embed.add_field(name="League", value=f"{dict((v,k) for k,v in self.bot.leagues_dict.items())[data["League"]]}", inline=True) + embed.add_field(name="Ballpark", value=data['BallparkName']) embed.add_field(name="Wins", value=f"{data["Record"]["Regular Season"]["Wins"]}", inline=True) embed.add_field(name="Losses", value=f"{data["Record"]["Regular Season"]["Losses"]}", inline=True) embed.add_field(name="Run Differential", value=f"{data["Record"]["Regular Season"]["RunDifferential"]}", inline=True)