mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add Guild.nsfw_level
This commit is contained in:
1 parent
dd727fb6f4
commit
a7ae2eb1bb
4 files changed
+36
-7
No files matched your search
@@ -2197,6 +2197,28 @@ of :class:`enum.Enum`.
|
||||
|
||||
Alias for :attr:`.closed`
|
||||
|
||||
.. class:: NSFWLevel
|
||||
|
||||
Represents the NSFW level of a guild.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. attribute:: default
|
||||
|
||||
The guild has not been categorised yet.
|
||||
|
||||
.. attribute:: explicit
|
||||
|
||||
The guild contains NSFW content.
|
||||
|
||||
.. attribute:: safe
|
||||
|
||||
The guild does not contain any NSFW content.
|
||||
|
||||
.. attribute:: age_restricted
|
||||
|
||||
The guild may contain NSFW content.
|
||||
|
||||
Async Iterator
|
||||
----------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user