mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Some documentation touch-ups and missing stuff in the changelog.
This commit is contained in:
parent
d7814cfb25
commit
af4e3ad79b
@ -167,6 +167,8 @@ class Command(_BaseCommand):
|
||||
regular matter rather than passing the rest completely raw. If ``True``
|
||||
then the keyword-only argument will pass in the rest of the arguments
|
||||
in a completely raw matter. Defaults to ``False``.
|
||||
invoked_subcommand: Optional[:class:`Command`]
|
||||
The subcommand that was invoked, if any.
|
||||
ignore_extra: :class:`bool`
|
||||
If ``True``\, ignores extraneous strings passed to a command if all its
|
||||
requirements are met (e.g. ``?foo a b c`` when only expecting ``a``
|
||||
|
@ -35,6 +35,8 @@ New Features
|
||||
- Add :attr:`VoiceRegion.india`. (:issue:`2145`)
|
||||
- Add :meth:`Embed.insert_field_at`. (:issue:`2178`)
|
||||
- Add a ``type`` attribute for all channels to their appropriate :class:`ChannelType`. (:issue:`2185`)
|
||||
- Add :meth:`Client.fetch_channel` to fetch a channel by ID via HTTP. (:issue:`2169`)
|
||||
- Add :meth:`Guild.fetch_channels` to fetch all channels via HTTP. (:issue:`2169`)
|
||||
- |tasks| Add :meth:`Loop.stop <.ext.tasks.Loop.stop>` to gracefully stop a task rather than cancelling.
|
||||
- |tasks| Add :meth:`Loop.failed <.ext.tasks.Loop.failed>` to query if a task had failed somehow.
|
||||
- |tasks| Add :meth:`Loop.change_interval <.ext.tasks.Loop.change_interval>` to change the sleep interval at runtime (:issue:`2158`, :issue:`2162`)
|
||||
@ -43,7 +45,7 @@ Bug Fixes
|
||||
~~~~~~~~~~~
|
||||
|
||||
- Fix internal error when using :meth:`Guild.prune_members`.
|
||||
- |commands| Fix :attr:`~ext.commands.Group.invoked_subcommand` being invalid in many cases.
|
||||
- |commands| Fix :attr:`.Command.invoked_subcommand` being invalid in many cases.
|
||||
- |tasks| Reset iteration count when the loop terminates and is restarted.
|
||||
- |tasks| The decorator interface now works as expected when stacking (:issue:`2154`)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user