Add Guild.default_notifications

This commit is contained in:
Chris
2018-11-13 08:04:45 -05:00
committed by Rapptz
parent 016963500b
commit 1ac432d9f0
3 changed files with 21 additions and 3 deletions

View File

@ -852,6 +852,17 @@ All enumerations are subclasses of `enum`_.
An alias for :attr:`extreme`.
.. 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.
..attribute:: only_mentions
Members receive notifications for messages they are mentioned in.
.. class:: ContentFilter
Specifies a :class:`Guild`\'s explicit content filter, which is the machine