mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Clarify when None is returned from Member.edit
This commit is contained in:
parent
bc00bc495e
commit
5c7f6dd37e
@ -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…
x
Reference in New Issue
Block a user