|
@ -1038,19 +1038,22 @@ Parameters in the following methods are now all positional-only: |
|
|
- :meth:`TextChannel.get_partial_message` |
|
|
- :meth:`TextChannel.get_partial_message` |
|
|
- :meth:`TextChannel.delete_messages` |
|
|
- :meth:`TextChannel.delete_messages` |
|
|
- :meth:`Webhook.delete_message` |
|
|
- :meth:`Webhook.delete_message` |
|
|
- :meth:`utils.find` |
|
|
- :func:`utils.find` |
|
|
|
|
|
- :func:`utils.snowflake_time` |
|
|
|
|
|
|
|
|
The following parameters are now positional-only: |
|
|
The following parameters are now positional-only: |
|
|
|
|
|
|
|
|
- ``iterable`` in :meth:`utils.get` |
|
|
- ``iterable`` in :func:`utils.get` |
|
|
- ``event_method`` in :meth:`Client.on_error` |
|
|
- ``event_method`` in :meth:`Client.on_error` |
|
|
- ``event`` in :meth:`Client.wait_for` |
|
|
- ``event`` in :meth:`Client.wait_for` |
|
|
|
|
|
- ``dt`` in :func:`utils.time_snowflake` |
|
|
|
|
|
|
|
|
The following are now keyword-only: |
|
|
The following are now keyword-only: |
|
|
|
|
|
|
|
|
- Parameters in :meth:`Reaction.users` |
|
|
- Parameters in :meth:`Reaction.users` |
|
|
- Parameters in :meth:`Client.create_guild` |
|
|
- Parameters in :meth:`Client.create_guild` |
|
|
- ``permissions``, ``guild``, ``redirect_uri``, and ``scopes`` parameters in :meth:`utils.oauth_url` |
|
|
- ``permissions``, ``guild``, ``redirect_uri``, and ``scopes`` parameters in :func:`utils.oauth_url` |
|
|
|
|
|
- ``high`` in :func:`utils.snowflake_time` |
|
|
|
|
|
|
|
|
The library now less often uses ``None`` as the default value for function/method parameters. |
|
|
The library now less often uses ``None`` as the default value for function/method parameters. |
|
|
|
|
|
|
|
|