diff options
| author | Rapptz <[email protected]> | 2017-04-12 20:18:28 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-12 20:18:28 -0400 |
| commit | 728fae928563057785be34324b13a5f3ffc9b83e (patch) | |
| tree | d4a43cca62bf7b4d978ff55aa2d84da830312d5b /discord/enums.py | |
| parent | Use create_future wrapper for initially created Future. (diff) | |
| download | discord.py-728fae928563057785be34324b13a5f3ffc9b83e.tar.xz discord.py-728fae928563057785be34324b13a5f3ffc9b83e.zip | |
Add Guild.explicit_content_filter.
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py index 366aca58..e91d592b 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -74,6 +74,14 @@ class VerificationLevel(Enum): def __str__(self): return self.name +class ContentFilter(Enum): + disabled = 0 + no_role = 1 + all_members = 2 + + def __str__(self): + return self.name + class Status(Enum): online = 'online' offline = 'offline' |