diff options
| author | Chris <[email protected]> | 2018-11-13 08:04:45 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 23:05:26 -0500 |
| commit | 1ac432d9f053812a1caab8330d14d4a9ba526289 (patch) | |
| tree | bda8467f95a383237b60ebc0693334579c9f5830 /discord/enums.py | |
| parent | [commands] Add support for IDs in the role related checks. (diff) | |
| download | discord.py-1ac432d9f053812a1caab8330d14d4a9ba526289.tar.xz discord.py-1ac432d9f053812a1caab8330d14d4a9ba526289.zip | |
Add Guild.default_notifications
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/discord/enums.py b/discord/enums.py index 1d032d56..55d1c73c 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -29,7 +29,7 @@ from enum import Enum, IntEnum __all__ = ['ChannelType', 'MessageType', 'VoiceRegion', 'VerificationLevel', 'ContentFilter', 'Status', 'DefaultAvatar', 'RelationshipType', 'AuditLogAction', 'AuditLogActionCategory', 'UserFlags', - 'ActivityType', 'HypeSquadHouse'] + 'ActivityType', 'HypeSquadHouse', 'NotificationLevel'] class ChannelType(Enum): text = 0 @@ -123,6 +123,10 @@ class RelationshipType(Enum): incoming_request = 3 outgoing_request = 4 +class NotificationLevel(Enum): + all_messages = 0 + only_mentions = 1 + class AuditLogActionCategory(Enum): create = 1 delete = 2 |