v3.0.0a8
Pre-release
Pre-release
Features
- Add
hooks
parameter toclient_from_app
- allowing commands to inherit common hooks from the client. (#430)
Bugfixes
- Fix autocomplete callbacks not being called if the option had localization enabled.
- Fix command parameter validation failing sometimes when using long localization keys.
- Fix subcommands with localization enabled not being invoked as expected.
- Slightly improved performance of invoking nested subcommands.
Deprecations and Removals
-
-
Client.register_deferred
has been removed. You should now useClient.register(defer_guilds=True)
instead. -
guilds
kwarg forClient.register
has new semantics. Read the docstring for more information.
(#429)
-
-
Removed
HookFailedException
.ExecutionPipelineFailedException
now has two attributes containing the hooks that
failed, and the exception that caused them to fail. You may need to update your error handler to reflect this.