diff options
| author | Rapptz <[email protected]> | 2018-11-25 01:42:33 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-25 01:42:33 -0500 |
| commit | 8b18fa307b5e4a9acc6c057b7489c4d11de359b4 (patch) | |
| tree | e902b8be505c34a814823020cc7a4091e6db7ac9 /docs/api.rst | |
| parent | Support webp in _get_mime_type_for_image (diff) | |
| download | discord.py-8b18fa307b5e4a9acc6c057b7489c4d11de359b4.tar.xz discord.py-8b18fa307b5e4a9acc6c057b7489c4d11de359b4.zip | |
Add support for default notification level in audit logs and Guild.edit
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index ef6cabaf..345fd913 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -855,7 +855,7 @@ All enumerations are subclasses of `enum`_. .. class:: NotificationLevel Specifies whether a :class:`Guild` has notifications on for all messages or mentions only by default. - + ..attribute:: all_messages Members receive notifications for every message regardless of them being mentioned. @@ -1595,6 +1595,12 @@ this goal, it must make use of a couple of data classes that aid in this goal. See also :attr:`Guild.verification_level`. + .. attribute:: default_notifications + + :class:`NotificationLevel` – The guild's default notification level. + + See also :attr:`Guild.default_notifications`. + .. attribute:: explicit_content_filter :class:`ContentFilter` – The guild's content filter. |