Change default oauth_url scopes to include application.commands

This commit is contained in:
Rapptz
2022-03-07 18:33:52 -05:00
parent ba2763a4a1
commit 8213603822
2 changed files with 3 additions and 2 deletions

View File

@ -1039,6 +1039,7 @@ The following changes have been made:
- :func:`on_socket_raw_send` is now only called if ``enable_debug_events`` is set on :class:`Client`.
- The documented return type for :meth:`Guild.fetch_channels` changed to Sequence[:class:`abc.GuildChannel`].
- :func:`utils.resolve_invite` now returns a :class:`ResolvedInvite` class.
- :func:`utils.oauth_url` now defaults to ``bot`` and ``application.commands`` scopes when not given instead of just ``bot``.
- :meth:`abc.Messageable.typing` can no longer be used as a regular (non-async) context manager.
- :attr:`Intents.emojis` is now an alias of :attr:`Intents.emojis_and_stickers`.