Skip to content

Commit 1ae2469

Browse files
authored
Update discord/utils.py
Signed-off-by: Paillat <[email protected]>
1 parent 1827f4d commit 1ae2469

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ def decorated(*args: P.args, **kwargs: P.kwargs) -> T:
377377
def oauth_url(
378378
client_id: int | str,
379379
*,
380-
permissions: Permissions = MISSING,
381-
guild: Snowflake = MISSING,
382-
redirect_uri: str = MISSING,
383-
scopes: Iterable[str] = MISSING,
380+
permissions: Permissions | Undefined = MISSING,
381+
guild: Snowflake | Undefined = MISSING,
382+
redirect_uri: str | Undefined = MISSING,
383+
scopes: Iterable[str] | Undefined = MISSING,
384384
disable_guild_select: bool = False,
385385
) -> str:
386386
"""A helper function that returns the OAuth2 URL for inviting the bot

0 commit comments

Comments
 (0)