From dc194409c4e751e35e3431a0145679e511b83486 Mon Sep 17 00:00:00 2001 From: Lia Marie <93722449+qt-haskell@users.noreply.github.com> Date: Tue, 10 Jan 2023 22:22:51 +0100 Subject: [PATCH] Update Guild.query_members docstring --- discord/guild.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index 621c09b53..147e6bc05 100644 --- a/discord/guild.py +++ b/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.