Replaced UserNotFoundException with UserNotFoundError in a docstring
This commit is contained in:
parent
4ad79f1445
commit
4b401e878b
@ -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}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user