Fix NameError when checking for File instances

This commit is contained in:
Rapptz 2022-03-01 07:20:57 -05:00
parent f63eb5c30d
commit 50ef8e8893

View File

@ -46,6 +46,7 @@ from ..asset import Asset
from ..http import Route, handle_message_parameters, MultipartParameters
from ..mixins import Hashable
from ..channel import PartialMessageable
from ..file import File
__all__ = (
'Webhook',
@ -57,7 +58,6 @@ __all__ = (
_log = logging.getLogger(__name__)
if TYPE_CHECKING:
from ..file import File
from ..embeds import Embed
from ..mentions import AllowedMentions
from ..message import Attachment