Add positional-only arguments in more places

This commit is contained in:
jack1142 authored and GitHub committed 2022-02-19 20:28:01 -05:00
1 parent 19b10eecfe
commit dc19c6c7d5
14 files changed
+202 -23

No files matched your search

+5
View File
@@ -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`]