From 99ee0cdd429f4747ce771248dd87aceb8fae1675 Mon Sep 17 00:00:00 2001 From: dkay Date: Sat, 3 May 2025 18:11:45 -0700 Subject: [PATCH 1/2] Make startup time dynamic timestamp --- techsupport_bot/commands/botinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techsupport_bot/commands/botinfo.py b/techsupport_bot/commands/botinfo.py index a42a7ea8a..81047a4b4 100644 --- a/techsupport_bot/commands/botinfo.py +++ b/techsupport_bot/commands/botinfo.py @@ -49,7 +49,7 @@ async def get_bot_data(self: Self, ctx: commands.Context) -> None: embed.add_field( name="Started", - value=f"{self.bot.startup_time} UTC" if self.bot.startup_time else "None", + value=f"" if self.bot.startup_time else "Unknown", inline=True, ) embed.add_field( From 2e084cb553d17260427e8b05caeca038b7284c98 Mon Sep 17 00:00:00 2001 From: dkay Date: Sat, 3 May 2025 18:16:39 -0700 Subject: [PATCH 2/2] Formatting --- techsupport_bot/commands/botinfo.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/techsupport_bot/commands/botinfo.py b/techsupport_bot/commands/botinfo.py index 81047a4b4..be97c8749 100644 --- a/techsupport_bot/commands/botinfo.py +++ b/techsupport_bot/commands/botinfo.py @@ -49,7 +49,11 @@ async def get_bot_data(self: Self, ctx: commands.Context) -> None: embed.add_field( name="Started", - value=f"" if self.bot.startup_time else "Unknown", + value=( + f"" + if self.bot.startup_time + else "Unknown" + ), inline=True, ) embed.add_field(