Added deprecation notice
This commit is contained in:
parent
b3805d66ef
commit
8dad53409b
@ -9,7 +9,10 @@ from modules.database import col_users
|
|||||||
|
|
||||||
class PyroClient(PyroClient):
|
class PyroClient(PyroClient):
|
||||||
async def find_user(self, user: Union[int, User]) -> PyroUser:
|
async def find_user(self, user: Union[int, User]) -> PyroUser:
|
||||||
"""Find User by it's ID or User object
|
"""Find User by it's ID or User object.
|
||||||
|
|
||||||
|
### ⚠️ WARNING
|
||||||
|
Method is deprecated, `PyroUser.find()` is a preferred way to find users
|
||||||
|
|
||||||
### Args:
|
### Args:
|
||||||
* user (`Union[int, User]`): ID or User object to extract ID from
|
* user (`Union[int, User]`): ID or User object to extract ID from
|
||||||
|
Reference in New Issue
Block a user