Skip to content

Commit b6ff5f3

Browse files
committed
Merge branch 'get_or_fetch' of https://github.com/Lumabots/pycord into get_or_fetch
2 parents fa0efba + da59485 commit b6ff5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ async def get_or_fetch(
12261226
Type of object to fetch or get.
12271227
object_id: int | None
12281228
ID of object to get. If None, returns default if provided, else None.
1229-
default: Any, optional
1229+
default: Any | None
12301230
A default to return instead of raising if fetch fails.
12311231
12321232
Returns

0 commit comments

Comments
 (0)