[commands] fix Context.channel property documented type

This commit is contained in:
Sebastian Law
2021-03-13 01:46:31 -05:00
committed by GitHub
parent 7d345e8e4e
commit a30a694e36
+2 -2
View File
@@ -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