aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-07-10 08:11:34 +0100
committerGitHub <[email protected]>2021-07-10 03:11:34 -0400
commite2624b9a3162620af36b70de00cf1c7f96170c9a (patch)
treee2d38659c7fcf947006f3f7b3954bd3cdcc31eb8 /discord/abc.py
parentUndocument Item.width (diff)
downloaddiscord.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.py3
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