Skip to content

Commit 528b84b

Browse files
authored
now im not drunk
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
1 parent a102d5d commit 528b84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ async def get_or_fetch(
649649
"appemoji": AppEmoji,
650650
}
651651

652-
if attr is not MISSING or id is not MISSING or isistance(object_type, str):
652+
if attr is not MISSING or id is not MISSING or isinstance(object_type, str):
653653
warn_deprecated(
654654
name="get_or_fetch(obj, attr='type', id=...)",
655655
instead="get_or_fetch(obj, object_type=Type, object_id=...)",

0 commit comments

Comments
 (0)