aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-10-03 05:45:30 -0400
committerRapptz <[email protected]>2018-10-03 05:45:30 -0400
commit96981210b3415e15446db0b702b07fef25c8b680 (patch)
tree82bc7406d30a66d583dab33dfbb0269ab9d3a4d2 /discord/channel.py
parentAdd note regarding MORE_EMOJI in Guild.create_custom_emoji (diff)
downloaddiscord.py-96981210b3415e15446db0b702b07fef25c8b680.tar.xz
discord.py-96981210b3415e15446db0b702b07fef25c8b680.zip
Rework documentation to not duplicate inherited members.
This will probably be reverted in 1 week.
Diffstat (limited to 'discord/channel.py')
-rw-r--r--discord/channel.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 30e2369c..3d330a43 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -45,6 +45,11 @@ async def _single_delete_strategy(messages):
class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
"""Represents a Discord guild text channel.
+ **Inherited Classes**
+
+ - :class:`discord.abc.Messageable`
+ - :class:`discord.abc.GuildChannel`
+
.. container:: operations
.. describe:: x == y
@@ -388,6 +393,11 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
class VoiceChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hashable):
"""Represents a Discord guild voice channel.
+ **Inherited Classes**
+
+ - :class:`discord.abc.Connectable`
+ - :class:`discord.abc.GuildChannel`
+
.. container:: operations
.. describe:: x == y
@@ -615,6 +625,10 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
class DMChannel(discord.abc.Messageable, Hashable):
"""Represents a Discord direct message channel.
+ **Inherited Classes**
+
+ - :class:`discord.abc.Messageable`
+
.. container:: operations
.. describe:: x == y
@@ -697,6 +711,10 @@ class DMChannel(discord.abc.Messageable, Hashable):
class GroupChannel(discord.abc.Messageable, Hashable):
"""Represents a Discord group channel.
+ **Inherited Classes**
+
+ - :class:`discord.abc.Messageable`
+
.. container:: operations
.. describe:: x == y