Browse Source
Update Guild.query_members docstring
pull/9171/head
Lia Marie
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
4 deletions
-
discord/guild.py
|
|
@ -3815,9 +3815,7 @@ class Guild(Hashable): |
|
|
|
) -> List[Member]: |
|
|
|
"""|coro| |
|
|
|
|
|
|
|
Request members that belong to this guild whose username starts with |
|
|
|
the query given. |
|
|
|
|
|
|
|
Request members of this guild whose username or nickname starts with the given query. |
|
|
|
This is a websocket operation. |
|
|
|
|
|
|
|
.. versionadded:: 1.3 |
|
|
@ -3825,7 +3823,7 @@ class Guild(Hashable): |
|
|
|
Parameters |
|
|
|
----------- |
|
|
|
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` |
|
|
|
The maximum number of members to send back. This must be |
|
|
|
a number between 5 and 100. |
|
|
|