Update migration guide with change to Message.channel_mentions type

This commit is contained in:
jack1142 2022-03-21 06:12:34 +01:00 committed by GitHub
parent 5202956f97
commit 97fe07edb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -571,6 +571,7 @@ For convenience, :class:`Thread` has a set of properties and methods that return
The following changes have been made:
- :attr:`Message.channel` may now be a :class:`Thread`.
- :attr:`Message.channel_mentions` list may now contain a :class:`Thread`.
- :attr:`AuditLogEntry.target` may now be a :class:`Thread`.
- :attr:`PartialMessage.channel` may now be a :class:`Thread`.
- :attr:`Guild.get_channel` does not return :class:`Thread`\s.