From 1ac432d9f053812a1caab8330d14d4a9ba526289 Mon Sep 17 00:00:00 2001 From: Chris <39552369+crrapi@users.noreply.github.com> Date: Tue, 13 Nov 2018 08:04:45 -0500 Subject: Add Guild.default_notifications --- docs/api.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs') diff --git a/docs/api.rst b/docs/api.rst index ba7c3b34..ef6cabaf 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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 -- cgit v1.2.3