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.
1 parent 1827f4d commit 1ae2469Copy full SHA for 1ae2469
discord/utils.py
@@ -377,10 +377,10 @@ def decorated(*args: P.args, **kwargs: P.kwargs) -> T:
377
def oauth_url(
378
client_id: int | str,
379
*,
380
- permissions: Permissions = MISSING,
381
- guild: Snowflake = MISSING,
382
- redirect_uri: str = MISSING,
383
- scopes: Iterable[str] = MISSING,
+ permissions: Permissions | Undefined = MISSING,
+ guild: Snowflake | Undefined = MISSING,
+ redirect_uri: str | Undefined = MISSING,
+ scopes: Iterable[str] | Undefined = MISSING,
384
disable_guild_select: bool = False,
385
) -> str:
386
"""A helper function that returns the OAuth2 URL for inviting the bot
0 commit comments