Add support for default notification level in audit logs and Guild.edit

This commit is contained in:
Rapptz
2018-11-25 01:42:33 -05:00
parent c30b016bb5
commit 8b18fa307b
5 changed files with 40 additions and 21 deletions

View File

@ -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.