diff --git a/changelog/1123.bugfix.rst b/changelog/1123.bugfix.rst new file mode 100644 index 0000000000..625f275381 --- /dev/null +++ b/changelog/1123.bugfix.rst @@ -0,0 +1 @@ +Fix :meth:`Thread.permissions_for` not working in some cases due to an incorrect import. diff --git a/disnake/threads.py b/disnake/threads.py index 2126e85605..b2004e12a9 100644 --- a/disnake/threads.py +++ b/disnake/threads.py @@ -12,6 +12,7 @@ from .flags import ChannelFlags from .mixins import Hashable from .partial_emoji import PartialEmoji, _EmojiTag +from .permissions import Permissions from .utils import MISSING, _get_as_snowflake, _unique, parse_time, snowflake_time __all__ = ( @@ -31,7 +32,6 @@ from .guild import Guild from .member import Member from .message import Message, PartialMessage - from .permissions import Permissions from .role import Role from .state import ConnectionState from .types.snowflake import SnowflakeList