mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 08:52:31 -05:00
Hm why did I put HTTPException in there
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user