diff --git a/discord/app_commands/models.py b/discord/app_commands/models.py index df992af7c..1d878ffdf 100644 --- a/discord/app_commands/models.py +++ b/discord/app_commands/models.py @@ -588,8 +588,8 @@ class AppCommandChannel(Hashable): slowmode_delay: :class:`int` The number of seconds a member must wait between sending messages in this channel. A value of ``0`` denotes that it is disabled. - Bots and users with :attr:`~Permissions.manage_channels` or - :attr:`~Permissions.manage_messages` bypass slowmode. + Bots and users with :attr:`~discord.Permissions.manage_channels` or + :attr:`~discord.Permissions.manage_messages` bypass slowmode. nsfw: :class:`bool` If the channel is marked as "not safe for work" or "age restricted". """ diff --git a/discord/types/interactions.py b/discord/types/interactions.py index 5dc62ce70..a0434931f 100644 --- a/discord/types/interactions.py +++ b/discord/types/interactions.py @@ -24,7 +24,7 @@ DEALINGS IN THE SOFTWARE. from __future__ import annotations -from typing import TYPE_CHECKING, Dict, List, Literal, TypedDict, Union +from typing import TYPE_CHECKING, Dict, List, Literal, TypedDict, Union, Optional from typing_extensions import NotRequired from .channel import ChannelTypeWithoutThread, GuildChannel, InteractionDMChannel, GroupDMChannel