[commands] fix Context.channel property documented type
This commit is contained in:
parent
7d345e8e4e
commit
a30a694e36
@ -229,8 +229,8 @@ class Context(discord.abc.Messageable):
|
|||||||
|
|
||||||
@discord.utils.cached_property
|
@discord.utils.cached_property
|
||||||
def channel(self):
|
def channel(self):
|
||||||
""":class:`.TextChannel`:
|
"""Union[:class:`.abc.Messageable`]: Returns the channel associated with this context's command.
|
||||||
Returns the channel associated with this context's command. Shorthand for :attr:`.Message.channel`.
|
Shorthand for :attr:`.Message.channel`.
|
||||||
"""
|
"""
|
||||||
return self.message.channel
|
return self.message.channel
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user