mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Allow Message.channel to be a thread
This commit is contained in:
1 parent
51cc7622a6
commit
ac95b8b85b
3 files changed
+11
-6
No files matched your search
@@ -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