Add try_user, owner and owners to Client #7

Merged
paris-ci merged 7 commits from try_user into 2.0 2021-09-02 19:24:52 +00:00
2 changed files with 1 additions and 5 deletions
Showing only changes of commit c4422353f7 - Show all commits

View File

@@ -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
-----------

View File

@@ -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`]