mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
[commands] fix Context.channel property documented type
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user