From 4b401e878b6faccd86ee9a73f3407e80a5aa4ba6 Mon Sep 17 00:00:00 2001 From: profitroll Date: Sun, 16 Feb 2025 14:09:32 +0100 Subject: [PATCH] Replaced UserNotFoundException with UserNotFoundError in a docstring --- classes/pycord_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pycord_user.py b/classes/pycord_user.py index 57a055d..9bf9252 100644 --- a/classes/pycord_user.py +++ b/classes/pycord_user.py @@ -36,7 +36,7 @@ class PycordUser: PycordUser: User object Raises: - UserNotFoundException: User was not found and creation was not allowed + UserNotFoundError: User was not found and creation was not allowed """ if cache is not None: cached_entry: Dict[str, Any] | None = cache.get_json(f"user_{user_id}")