Traceback (most recent call last):
File "/home/ubuntu/.local/share/virtualenvs/modmail-7dS7szwO/lib/python3.10/site-packages/discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
File "/home/ubuntu/modmail/core/utils.py", line 558, in wrapper
return await func(self, ctx, *args, **kwargs)
File "/home/ubuntu/modmail/cogs/utility.py", line 617, in ping
description=f"{self.bot.ws.latency * 1000:.4f} ms",
AttributeError: 'NoneType' object has no attribute 'latency'
basically fixes this issue