Browse Source

Clarify when None is returned from Member.edit

pull/10109/head
Rapptz 3 years ago
committed by dolfies
parent
commit
afed0313a7
  1. 4
      discord/member.py

4
discord/member.py

@ -779,8 +779,8 @@ class Member(discord.abc.Messageable, discord.abc.Connectable, _UserTag):
Returns
--------
Optional[:class:`.Member`]
The newly updated member, if applicable. This is only returned
when certain fields are updated.
The newly updated member, if applicable. This is not returned
if certain fields are passed, such as ``suppress``.
"""
http = self._state.http
guild_id = self.guild.id

Loading…
Cancel
Save