Skip to content

Commit 890cc53

Browse files
Update discord/utils.py
Co-authored-by: Paillat <[email protected]> Signed-off-by: Lumouille <[email protected]>
1 parent 59768c1 commit 890cc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ async def get_or_fetch(
712712
mapped_type = string_to_type.get(deprecated_attr.lower())
713713
if mapped_type is None:
714714
raise InvalidArgument(
715-
f"Unknown type string '{deprecated_attr}' used. Please use a valid object class like `discord.Member` instead."
715+
f"Unknown type string '{deprecated_attr}' used. Please use a valid class like `discord.Member` instead."
716716
)
717717
object_type = mapped_type
718718
elif isinstance(deprecated_attr, type):

0 commit comments

Comments
 (0)