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

This commit is contained in:
Nadir Chowdhury
2021-07-10 08:11:34 +01:00
committed by GitHub
parent f153154b7a
commit e2624b9a31
4 changed files with 51 additions and 12 deletions

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