Browse Source

Fix position of versionadded and add new versionchanged

pull/7492/head
jack1142 3 years ago
committed by GitHub
parent
commit
e44dd3dee5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      discord/guild.py

6
discord/guild.py

@ -245,10 +245,14 @@ class Guild(Hashable):
results to a specific language. results to a specific language.
nsfw_level: :class:`NSFWLevel` nsfw_level: :class:`NSFWLevel`
The guild's NSFW level. The guild's NSFW level.
.. versionadded:: 2.0
mfa_level: :class:`MFALevel` mfa_level: :class:`MFALevel`
The guild's Multi-Factor Authentication requirement level. The guild's Multi-Factor Authentication requirement level.
.. versionadded:: 2.0 .. versionchanged:: 2.0
The type of this attribute is now :class:`MFALevel`.
""" """
__slots__ = ( __slots__ = (

Loading…
Cancel
Save