[commands] Fix (Partial)MessageConverter to work with thread messages

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-07-10 03:11:34 -04:00
1 parent f153154b7a
commit e2624b9a31
4 files changed
+51 -12

No files matched your search

+2 -1
View File
@@ -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