We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a102d5d commit 528b84bCopy full SHA for 528b84b
discord/utils.py
@@ -649,7 +649,7 @@ async def get_or_fetch(
649
"appemoji": AppEmoji,
650
}
651
652
- if attr is not MISSING or id is not MISSING or isistance(object_type, str):
+ if attr is not MISSING or id is not MISSING or isinstance(object_type, str):
653
warn_deprecated(
654
name="get_or_fetch(obj, attr='type', id=...)",
655
instead="get_or_fetch(obj, object_type=Type, object_id=...)",
0 commit comments