mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-18 17:10:32 +00:00
Update Guild.query_members docstring
This commit is contained in:
parent
d3249445f3
commit
dc194409c4
@ -3815,9 +3815,7 @@ class Guild(Hashable):
|
|||||||
) -> List[Member]:
|
) -> List[Member]:
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Request members that belong to this guild whose username starts with
|
Request members of this guild whose username or nickname starts with the given query.
|
||||||
the query given.
|
|
||||||
|
|
||||||
This is a websocket operation.
|
This is a websocket operation.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
@ -3825,7 +3823,7 @@ class Guild(Hashable):
|
|||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
query: Optional[:class:`str`]
|
query: Optional[:class:`str`]
|
||||||
The string that the username's start with.
|
The string that the username or nickname should start with.
|
||||||
limit: :class:`int`
|
limit: :class:`int`
|
||||||
The maximum number of members to send back. This must be
|
The maximum number of members to send back. This must be
|
||||||
a number between 5 and 100.
|
a number between 5 and 100.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user