mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix NameError when checking for File instances
This commit is contained in:
parent
f63eb5c30d
commit
50ef8e8893
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user