diff options
Diffstat (limited to 'discord/channel.py')
| -rw-r--r-- | discord/channel.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/discord/channel.py b/discord/channel.py index 2bd5c31c..1879a974 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -194,6 +194,9 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): You must have the :attr:`~Permissions.manage_channels` permission to use this. + .. versionchanged:: 1.3 + The ``overwrites`` keyword-only parameter was added. + Parameters ---------- name: :class:`str` @@ -219,8 +222,6 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): A :class:`dict` of target (either a role or a member) to :class:`PermissionOverwrite` to apply to the channel. - .. versionadded:: 1.3 - Raises ------ InvalidArgument @@ -644,6 +645,9 @@ class VoiceChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hashable): You must have the :attr:`~Permissions.manage_channels` permission to use this. + .. versionchanged:: 1.3 + The ``overwrites`` keyword-only parameter was added. + Parameters ---------- name: :class:`str` @@ -666,8 +670,6 @@ class VoiceChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hashable): A :class:`dict` of target (either a role or a member) to :class:`PermissionOverwrite` to apply to the channel. - .. versionadded:: 1.3 - Raises ------ InvalidArgument @@ -762,6 +764,9 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable): You must have the :attr:`~Permissions.manage_channels` permission to use this. + .. versionchanged:: 1.3 + The ``overwrites`` keyword-only parameter was added. + Parameters ---------- name: :class:`str` @@ -776,8 +781,6 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable): A :class:`dict` of target (either a role or a member) to :class:`PermissionOverwrite` to apply to the channel. - .. versionadded:: 1.3 - Raises ------ InvalidArgument |