mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Add positional-only arguments in more places
This commit is contained in:
@@ -276,6 +276,11 @@ def oauth_url(
|
||||
"""A helper function that returns the OAuth2 URL for inviting the bot
|
||||
into guilds.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
|
||||
``permissions``, ``guild``, ``redirect_uri``, and ``scopes`` parameters
|
||||
are now keyword-only.
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
client_id: Union[:class:`int`, :class:`str`]
|
||||
|
Reference in New Issue
Block a user