Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user