Allow Message.channel to be a thread

This commit is contained in:
Rapptz
2021-06-08 07:25:40 -04:00
parent 51cc7622a6
commit ac95b8b85b
3 changed files with 11 additions and 6 deletions
+4
View File
@@ -493,6 +493,10 @@ class Guild(Hashable):
def get_channel(self, channel_id):
"""Returns a channel with the given ID.
.. note::
This does *not* search for threads.
Parameters
-----------
channel_id: :class:`int`