Browse Source

Clarify when None is returned from Member.edit

pull/8357/head
Rapptz 3 years ago
parent
commit
5c7f6dd37e
  1. 4
      discord/member.py

4
discord/member.py

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

Loading…
Cancel
Save