diff options
| author | Nadir Chowdhury <[email protected]> | 2021-07-10 08:11:34 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-10 03:11:34 -0400 |
| commit | e2624b9a3162620af36b70de00cf1c7f96170c9a (patch) | |
| tree | e2d38659c7fcf947006f3f7b3954bd3cdcc31eb8 /discord/abc.py | |
| parent | Undocument Item.width (diff) | |
| download | discord.py-e2624b9a3162620af36b70de00cf1c7f96170c9a.tar.xz discord.py-e2624b9a3162620af36b70de00cf1c7f96170c9a.zip | |
[commands] Fix (Partial)MessageConverter to work with thread messages
Diffstat (limited to 'discord/abc.py')
| -rw-r--r-- | discord/abc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py index 6efb2cd7..7bafeec6 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -86,7 +86,8 @@ if TYPE_CHECKING: OverwriteType, ) - MessageableChannel = Union[TextChannel, Thread, DMChannel, GroupChannel] + PartialMessageableChannel = Union[TextChannel, Thread, DMChannel] + MessageableChannel = Union[PartialMessageableChannel, GroupChannel] SnowflakeTime = Union["Snowflake", datetime] MISSING = utils.MISSING |