mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
Add versionadded string to GuildChannel.permissions_synced
This commit is contained in:
parent
59df2004e3
commit
3dc9f40be7
@ -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…
x
Reference in New Issue
Block a user