Add versionadded string to GuildChannel.permissions_synced

This commit is contained in:
Rapptz 2019-08-27 04:06:27 -04:00
parent 59df2004e3
commit 3dc9f40be7

View File

@ -392,6 +392,8 @@ class GuildChannel:
category it belongs to.
If there is no category then this is ``False``.
.. versionadded:: 1.3
"""
category = self.guild.get_channel(self.category_id)
return category and category._overwrites == self._overwrites