From 50ef8e8893694dcf45917cfd6ce27189eb3fa7f0 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 1 Mar 2022 07:20:57 -0500 Subject: [PATCH] Fix NameError when checking for File instances --- discord/webhook/async_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index e9ec456ad..62e1867c4 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -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