Browse Source

Add versionadded string to GuildChannel.permissions_synced

pull/2324/head
Rapptz 6 years ago
parent
commit
3dc9f40be7
  1. 2
      discord/abc.py

2
discord/abc.py

@ -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

Loading…
Cancel
Save