We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa0efba + da59485 commit b6ff5f3Copy full SHA for b6ff5f3
discord/client.py
@@ -1226,7 +1226,7 @@ async def get_or_fetch(
1226
Type of object to fetch or get.
1227
object_id: int | None
1228
ID of object to get. If None, returns default if provided, else None.
1229
- default: Any, optional
+ default: Any | None
1230
A default to return instead of raising if fetch fails.
1231
1232
Returns
0 commit comments