mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add support for media channels
This commit is contained in:
1 parent
ca5cbcbdf3
commit
e6a0dc5bc0
5 files changed
+46
-7
No files matched your search
@@ -1634,6 +1634,15 @@ class ChannelFlags(BaseFlags):
|
||||
"""
|
||||
return 1 << 4
|
||||
|
||||
@flag_value
|
||||
def hide_media_download_options(self):
|
||||
""":class:`bool`: Returns ``True`` if the client hides embedded media download options in a :class:`ForumChannel`.
|
||||
Only available in media channels.
|
||||
|
||||
.. versionadded:: 2.4
|
||||
"""
|
||||
return 1 << 15
|
||||
|
||||
|
||||
class ArrayFlags(BaseFlags):
|
||||
@classmethod
|
||||
|
||||
Reference in new issue
Block a user