Replaced UserNotFoundException with UserNotFoundError in a docstring

This commit is contained in:
Profitroll 2025-02-16 14:09:32 +01:00
parent 4ad79f1445
commit 4b401e878b
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -36,7 +36,7 @@ class PycordUser:
PycordUser: User object PycordUser: User object
Raises: 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: if cache is not None:
cached_entry: Dict[str, Any] | None = cache.get_json(f"user_{user_id}") cached_entry: Dict[str, Any] | None = cache.get_json(f"user_{user_id}")