mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Allow Message.channel to be a thread
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user