Releases: tandemdude/hikari-lightbulb
v3.0.0a6
Features
- Add support for unloading and atomic reloading of extensions.
- Implement repeating tasks - including uniform and cron-based triggers and support within extensions.
Bugfixes
- Fix limit for message ID length for options name and description when using
GnuLocalizationProvider
. (#427) - Fix localization not being supported correctly for commands using deferred guild registration.
Deprecations and Removals
- The
unload()
method is now required to be implemented forLoadables
s.
v3.0.0a5
Features
- Refactor
ExecutionPipelineFailedException
to make writing error handlers more intuitive.
Bugfixes
- Fix incorrect assertion error happening sometimes when a subcommand is invoked.
v3.0.0a4
Features
- Add
ephemeral
convenience argument toContext.respond
. - Add ability to localize choice names.
v3.0.0a3
Features
- Add
PRE_INVOKE
execution step to default execution step order. - Add ability for
Loadable.listener
s to listen for multiple event types.
Bugfixes
- Fix not being able to access option values when their name and description are localized.
v3.0.0a2
Features
- A plugin for IntelliJ-based IDEs has been
released to add autocompletion and type checking support for command parameters. It supports Lightbulb from
this version and later. More features are planned.
Bugfixes
- Use
interaction.registered_guild_id
when resolving command interactions to prevent issues where guild commands
would sometimes be invoked instead of global commands. (#426)
Improved Documentation
- Documentation has been reworked to look nicer and function better. A Lightbulb-by-example section is in-progress for
better tutorials and explanations for users of the library.
v3.0.0a1
See changelog for further information.
v3.0.0a0
This version is a complete rewrite of the entire library from scratch. The API reference documentation can be found here however the guides have not been updated. If you for some reason wish to use this version and have questions you should ask in the V3 thread of the lightbulb channel in the hikari discord - or you can open a discussion on the repository.
v2.3.5
What's Changed
- Fix incorrect parameters being passed to _get_bucket which prevented the add_cooldown decorator from functioning correctly.
v2.3.4
What's Changed
-
Add validators to options in PrefixContext
-
Fix custom option converter not being initialized for slash commands.
-
Implemented slotting in some classes.
-
Fixed localization options not being passed to subcommands or command options.
-
Added case insensitive prefixes.
-
Add support for Python 3.12.
-
Bump hikari requirement to 2.0.0.dev122.
v2.3.3
-
bucket
attribute has been added tolightbulb.errors.MaxConcurrencyLimitReached
. -
Fix button navigator due to hikari breaking changes.
-
Autocomplete callbacks may no longer return instances of
hikari.CommandChoice
as it has been deprecated. UseAutocompleteChoiceBuilder
instead.