update docs
This commit is contained in:
		@@ -21,6 +21,8 @@ Custom Features
 | 
				
			|||||||
- Merged in ext-colors (https://github.com/MGardne8/DiscordPyColours)
 | 
					- Merged in ext-colors (https://github.com/MGardne8/DiscordPyColours)
 | 
				
			||||||
- Using Rapptz/discord.py/tree/neo-docs for documentation
 | 
					- Using Rapptz/discord.py/tree/neo-docs for documentation
 | 
				
			||||||
- Adding support for ``hex()`` to ``discord.Color``
 | 
					- Adding support for ``hex()`` to ``discord.Color``
 | 
				
			||||||
 | 
					- Added ``Client.embed_color`` / ``Bot.embed_color``
 | 
				
			||||||
 | 
					- Added ``TextChannel.can_send``
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Key Features
 | 
					Key Features
 | 
				
			||||||
-------------
 | 
					-------------
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -144,6 +144,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def can_send(self):
 | 
					    def can_send(self):
 | 
				
			||||||
 | 
					        """:class:`bool`: Checks if the bot can send messages"""
 | 
				
			||||||
        return self.guild.me.guild_permissions.send_messages
 | 
					        return self.guild.me.guild_permissions.send_messages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def permissions_for(self, member):
 | 
					    def permissions_for(self, member):
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,10 @@ class Client:
 | 
				
			|||||||
        sync your system clock to Google's NTP server.
 | 
					        sync your system clock to Google's NTP server.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .. versionadded:: 1.3
 | 
					        .. versionadded:: 1.3
 | 
				
			||||||
 | 
					    embed_color: Union[:class:`.Colour`, :class:`int`]
 | 
				
			||||||
 | 
					        The default embed color you want to use when initialising a :class:`.Embed`. This will
 | 
				
			||||||
 | 
					        remove the need to set the color per embed, but can still be overridden by setting a
 | 
				
			||||||
 | 
					        color while creating an instance of an embed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Attributes
 | 
					    Attributes
 | 
				
			||||||
    -----------
 | 
					    -----------
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,8 @@ Custom Features
 | 
				
			|||||||
- Merged in ext-colors (https://github.com/MGardne8/DiscordPyColours)
 | 
					- Merged in ext-colors (https://github.com/MGardne8/DiscordPyColours)
 | 
				
			||||||
- Using Rapptz/discord.py/tree/neo-docs for documentation
 | 
					- Using Rapptz/discord.py/tree/neo-docs for documentation
 | 
				
			||||||
- Adding support for ``hex()`` to ``discord.Color``
 | 
					- Adding support for ``hex()`` to ``discord.Color``
 | 
				
			||||||
 | 
					- Added ``Client.embed_color`` / ``Bot.embed_color``
 | 
				
			||||||
 | 
					- Added ``TextChannel.can_send``
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Features
 | 
					Features
 | 
				
			||||||
--------
 | 
					--------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user