mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +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 ..http import Route, handle_message_parameters, MultipartParameters
|
||||||
from ..mixins import Hashable
|
from ..mixins import Hashable
|
||||||
from ..channel import PartialMessageable
|
from ..channel import PartialMessageable
|
||||||
|
from ..file import File
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
'Webhook',
|
'Webhook',
|
||||||
@ -57,7 +58,6 @@ __all__ = (
|
|||||||
_log = logging.getLogger(__name__)
|
_log = logging.getLogger(__name__)
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from ..file import File
|
|
||||||
from ..embeds import Embed
|
from ..embeds import Embed
|
||||||
from ..mentions import AllowedMentions
|
from ..mentions import AllowedMentions
|
||||||
from ..message import Attachment
|
from ..message import Attachment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user