aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorChris <[email protected]>2018-11-13 08:04:45 -0500
committerRapptz <[email protected]>2018-11-24 23:05:26 -0500
commit1ac432d9f053812a1caab8330d14d4a9ba526289 (patch)
treebda8467f95a383237b60ebc0693334579c9f5830 /docs/api.rst
parent[commands] Add support for IDs in the role related checks. (diff)
downloaddiscord.py-1ac432d9f053812a1caab8330d14d4a9ba526289.tar.xz
discord.py-1ac432d9f053812a1caab8330d14d4a9ba526289.zip
Add Guild.default_notifications
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst11
1 files changed, 11 insertions, 0 deletions
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