From c6d5f64edf1f8532ae2891f0d4fadb6b356b2bdc Mon Sep 17 00:00:00 2001 From: imtherealF1 <168587794+imtherealF1@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:01:09 +0200 Subject: [PATCH] appease pyright --- ballsdex/packages/info/cog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ballsdex/packages/info/cog.py b/ballsdex/packages/info/cog.py index 8000be8a..a4e1fc1d 100644 --- a/ballsdex/packages/info/cog.py +++ b/ballsdex/packages/info/cog.py @@ -80,6 +80,8 @@ async def about(self, interaction: discord.Interaction): if self.bot.startup_time is not None: uptime_duration = datetime.now() - self.bot.startup_time formatted_uptime = str(uptime_duration).split(".")[0] + else: + formatted_uptime = "N/A" assert self.bot.user assert self.bot.application