diff --git a/CHANGELOG.md b/CHANGELOG.md index d3f5595f10..34e6bef80d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#2392](https://github.com/Pycord-Development/pycord/pull/2392)) - Fixed `Paginator.edit` to no longer set user to the bot. ([#2390](https://github.com/Pycord-Development/pycord/pull/2390)) +- Fixed `NameError` in some instances of `Interaction`. + ([#2402](https://github.com/Pycord-Development/pycord/pull/2402)) ### Changed diff --git a/discord/interactions.py b/discord/interactions.py index 0e254d514a..a4222ca5d6 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -34,6 +34,7 @@ from .errors import ClientException, InteractionResponded, InvalidArgument from .file import File from .flags import MessageFlags +from .guild import Guild from .member import Member from .message import Attachment, Message from .monetization import Entitlement @@ -69,7 +70,6 @@ from .client import Client from .commands import OptionChoice from .embeds import Embed - from .guild import Guild from .mentions import AllowedMentions from .state import ConnectionState from .threads import Thread