From 8dad53409b6696869dcb44a63a4708aadd61bc88 Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 17 Aug 2023 15:15:53 +0200 Subject: [PATCH] Added deprecation notice --- classes/pyroclient.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/pyroclient.py b/classes/pyroclient.py index 70108a1..e1ffa47 100644 --- a/classes/pyroclient.py +++ b/classes/pyroclient.py @@ -9,7 +9,10 @@ from modules.database import col_users class PyroClient(PyroClient): 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: * user (`Union[int, User]`): ID or User object to extract ID from