added versionadded

This commit is contained in:
iDutchy
2020-10-21 17:44:46 -05:00
parent 2b5490d4cb
commit 3521ae985a
7 changed files with 64 additions and 8 deletions

View File

@@ -144,7 +144,9 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
@property
def can_send(self):
""":class:`bool`: Checks if the bot can send messages"""
""":class:`bool`: Checks if the bot can send messages
.. versionadded:: 1.5.0.1"""
return self.guild.me.guild_permissions.send_messages
def permissions_for(self, member):