Hm why did I put HTTPException in there

This commit is contained in:
PredaaA
2021-07-03 22:07:08 +02:00
parent d90e45f9e0
commit dc5cb990cb

View File

@@ -208,7 +208,7 @@ class TriviaSession:
)
except asyncio.TimeoutError:
if time.time() - self._last_response >= timeout:
with contextlib.suppress(discord.HTTPException):
with contextlib.suppress(discord.NotFound, discord.Forbidden):
await self.ctx.send(_("Guys...? Well, I guess I'll stop then."))
self.stop()
return False