Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
130 changed files with 13577 additions and 18703 deletions
Showing only changes of commit 14d8310192 - Show all commits

View File

@ -15,7 +15,7 @@ __title__ = 'discord'
__author__ = 'Rapptz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015-2020 Rapptz'
__version__ = '1.5.0.2'
__version__ = '1.5.0.3'
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

View File

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