Fix: Remove unnecessary type ignore comment for latency in ping command

This commit is contained in:
Slipstream 2025-06-11 15:14:14 -06:00
parent 3c638d17ce
commit 9d8fd83497
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -48,7 +48,7 @@ class Basics(commands.Cog):
@commands.command()
async def ping(self, ctx: commands.CommandContext) -> None:
await ctx.reply(f"Pong! Gateway Latency: {self.client.latency_ms} ms.") # type: ignore (latency is None during static analysis)
await ctx.reply(f"Pong! Gateway Latency: {self.client.latency_ms} ms.")
token = os.getenv("DISCORD_BOT_TOKEN")