From a30a694e36e9a53825fffec1526601b37733581f Mon Sep 17 00:00:00 2001 From: Sebastian Law <44045823+SebbyLaw@users.noreply.github.com> Date: Fri, 12 Mar 2021 22:46:31 -0800 Subject: [PATCH] [commands] fix Context.channel property documented type --- discord/ext/commands/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index 094499217..39e5d5cd2 100644 --- a/discord/ext/commands/context.py +++ b/discord/ext/commands/context.py @@ -229,8 +229,8 @@ class Context(discord.abc.Messageable): @discord.utils.cached_property def channel(self): - """:class:`.TextChannel`: - Returns the channel associated with this context's command. Shorthand for :attr:`.Message.channel`. + """Union[:class:`.abc.Messageable`]: Returns the channel associated with this context's command. + Shorthand for :attr:`.Message.channel`. """ return self.message.channel