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 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