mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add more missing AuditLogDiff attrs
This commit is contained in:
parent
26f49512b5
commit
53ce47534d
30
docs/api.rst
30
docs/api.rst
@ -2018,6 +2018,9 @@ of :class:`enum.Enum`.
|
||||
- :attr:`~AuditLogDiff.rtc_region`
|
||||
- :attr:`~AuditLogDiff.video_quality_mode`
|
||||
- :attr:`~AuditLogDiff.default_auto_archive_duration`
|
||||
- :attr:`~AuditLogDiff.nsfw`
|
||||
- :attr:`~AuditLogDiff.slowmode_delay`
|
||||
- :attr:`~AuditLogDiff.user_limit`
|
||||
|
||||
.. attribute:: channel_delete
|
||||
|
||||
@ -2034,6 +2037,9 @@ of :class:`enum.Enum`.
|
||||
- :attr:`~AuditLogDiff.name`
|
||||
- :attr:`~AuditLogDiff.type`
|
||||
- :attr:`~AuditLogDiff.overwrites`
|
||||
- :attr:`~AuditLogDiff.flags`
|
||||
- :attr:`~AuditLogDiff.nsfw`
|
||||
- :attr:`~AuditLogDiff.slowmode_delay`
|
||||
|
||||
.. attribute:: overwrite_create
|
||||
|
||||
@ -3941,7 +3947,7 @@ AuditLogDiff
|
||||
|
||||
.. attribute:: premium_progress_bar_enabled
|
||||
|
||||
The guild’s display setting to show boost progress sidebar
|
||||
The guild’s display setting to show boost progress bar.
|
||||
|
||||
:type: :class:`bool`
|
||||
|
||||
@ -3953,6 +3959,28 @@ AuditLogDiff
|
||||
|
||||
:type: :class:`SystemChannelFlags`
|
||||
|
||||
.. attribute:: nsfw
|
||||
|
||||
Whether the channel is marked as “not safe for work” or “age restricted”.
|
||||
|
||||
:type: :class:`bool`
|
||||
|
||||
.. attribute:: user_limit
|
||||
|
||||
The channel’s limit for number of members that can be in a voice or stage channel.
|
||||
|
||||
See also :attr:`VoiceChannel.user_limit` and :attr:`StageChannel.user_limit`
|
||||
|
||||
:type: :class:`int`
|
||||
|
||||
.. attribute:: flags
|
||||
|
||||
The channel flags associated with this thread or forum post.
|
||||
|
||||
See also :attr:`ForumChannel.flags` and :attr:`Thread.flags`
|
||||
|
||||
:type: :class:`ChannelFlags`
|
||||
|
||||
.. this is currently missing the following keys: reason and application_id
|
||||
I'm not sure how to port these
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user