Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobular committed Jan 28, 2021
1 parent d5694bd commit 7ad2060
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion distest/TestInterface/_oddballs.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
from asyncio.exceptions import CancelledError
from discord import Reaction
from distest.exceptions import (
UnexpectedResponseError,
HumanResponseTimeout,
HumanResponseFailure,
)

try:
from asyncio.exceptions import TimeoutError
from asyncio.exceptions import CancelledError
except (ImportError, ModuleNotFoundError):
from concurrent.futures._base import TimeoutError
from concurrent.futures._base import CancelledError


async def ensure_silence(self):
""" Assert that the bot does not post any messages for some number of seconds.
Expand Down

0 comments on commit 7ad2060

Please sign in to comment.