diff --git a/discord/__init__.py b/discord/__init__.py index 445f42f3..ab0fb666 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -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__) diff --git a/discord/channel.py b/discord/channel.py index 7dad83a4..a500cd1c 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -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)