Add support for media channels

This commit is contained in:
Rapptz committed 2023-08-01 18:18:33 -04:00
1 parent ca5cbcbdf3
commit e6a0dc5bc0
5 files changed
+46 -7

No files matched your search

+9
View File
@@ -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