Browse Source

Fix docs for Guild.mfa_level

pull/7492/head
mniip 3 years ago
committed by GitHub
parent
commit
d5f23dbfc2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/guild.py
  2. 8
      docs/api.rst

3
discord/guild.py

@ -251,8 +251,7 @@ class Guild(Hashable):
The guild's Multi-Factor Authentication requirement level.
.. versionchanged:: 2.0
The type of this attribute is now :class:`MFALevel`.
This field is now an enum instead of an :class:`int`.
"""
__slots__ = (

8
docs/api.rst

@ -3263,7 +3263,7 @@ AuditLogDiff
Integration emoticons were enabled or disabled.
see also :attr:`StreamIntegration.enable_emoticons`
See also :attr:`StreamIntegration.enable_emoticons`
:type: :class:`bool`
@ -3272,7 +3272,7 @@ AuditLogDiff
The behaviour of expiring subscribers changed.
see also :attr:`StreamIntegration.expire_behaviour`
See also :attr:`StreamIntegration.expire_behaviour`
:type: :class:`ExpireBehaviour`
@ -3280,7 +3280,7 @@ AuditLogDiff
The grace period before expiring subscribers changed.
see also :attr:`StreamIntegration.expire_grace_period`
See also :attr:`StreamIntegration.expire_grace_period`
:type: :class:`int`
@ -3288,7 +3288,7 @@ AuditLogDiff
The preferred locale for the guild changed.
see also :attr:`Guild.preferred_locale`
See also :attr:`Guild.preferred_locale`
:type: :class:`str`

Loading…
Cancel
Save