diff options
| author | Sebastian Law <[email protected]> | 2021-03-12 22:46:31 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-13 01:46:31 -0500 |
| commit | a30a694e36e9a53825fffec1526601b37733581f (patch) | |
| tree | b2de6d197829502abdfe2d9286fb3c22a79b7cc6 | |
| parent | remove trailing whitespace (diff) | |
| download | discord.py-a30a694e36e9a53825fffec1526601b37733581f.tar.xz discord.py-a30a694e36e9a53825fffec1526601b37733581f.zip | |
[commands] fix Context.channel property documented type
| -rw-r--r-- | discord/ext/commands/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index 09449921..39e5d5cd 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 |