From c4422353f70ee1f090321edeb62a94c73ce6349d Mon Sep 17 00:00:00 2001 From: Arthur Jovart Date: Mon, 30 Aug 2021 00:37:19 +0200 Subject: [PATCH] Fix docstring --- discord/client.py | 1 + discord/ext/commands/bot.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/discord/client.py b/discord/client.py index 04292f62..1faa5706 100644 --- a/discord/client.py +++ b/discord/client.py @@ -837,6 +837,7 @@ class Client: .. note:: This method is an API call. If you have :attr:`discord.Intents.members` and member cache enabled, consider :meth:`get_user` instead. + .. versionadded:: 2.0 Parameters ----------- diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index fda0b604..8049cae8 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -358,11 +358,6 @@ class BotBase(GroupMixin): The function also checks if the application is team-owned if :attr:`owner_ids` is not set. - Parameters - ----------- - user: :class:`.abc.User` - The user to check for. - Returns -------- List[:class:`~discord.User`]