From 96981210b3415e15446db0b702b07fef25c8b680 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 3 Oct 2018 05:45:30 -0400 Subject: Rework documentation to not duplicate inherited members. This will probably be reverted in 1 week. --- discord/channel.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'discord/channel.py') 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 -- cgit v1.2.3