mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Hm why did I put HTTPException in there
This commit is contained in:
@@ -208,7 +208,7 @@ class TriviaSession:
|
|||||||
)
|
)
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
if time.time() - self._last_response >= timeout:
|
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."))
|
await self.ctx.send(_("Guys...? Well, I guess I'll stop then."))
|
||||||
self.stop()
|
self.stop()
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user