Skip to content

Releases: tandemdude/hikari-lightbulb

v3.0.0a5

13 Jul 08:38
Compare
Choose a tag to compare
v3.0.0a5 Pre-release
Pre-release

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

02 Jul 20:42
Compare
Choose a tag to compare
v3.0.0a4 Pre-release
Pre-release

Features

  • Add ephemeral convenience argument to Context.respond.
  • Add ability to localize choice names.

v3.0.0a3

28 Jun 09:32
Compare
Choose a tag to compare
v3.0.0a3 Pre-release
Pre-release

Features

  • Add PRE_INVOKE execution step to default execution step order.
  • Add ability for Loadable.listeners 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

20 Jun 20:12
Compare
Choose a tag to compare
v3.0.0a2 Pre-release
Pre-release

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

12 Jun 13:04
Compare
Choose a tag to compare
v3.0.0a1 Pre-release
Pre-release

See changelog for further information.

v3.0.0a0

01 May 09:32
Compare
Choose a tag to compare
v3.0.0a0 Pre-release
Pre-release

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

08 Dec 20:18
8861c4e
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect parameters being passed to _get_bucket which prevented the add_cooldown decorator from functioning correctly.

v2.3.4

07 Dec 12:11
2215c5b
Compare
Choose a tag to compare

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

17 Apr 17:36
Compare
Choose a tag to compare
  • bucket attribute has been added to lightbulb.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. Use AutocompleteChoiceBuilder instead.

v2.3.2

04 Mar 17:23
Compare
Choose a tag to compare

Potentially Breaking Changes

  • Module lightbulb.utils.parser has been moved up a level to lightbulb.parser.

  • OptionsProxy will now raise an AttributeError when trying to access an option that does not exist.

Other Changes

  • Slash commands now have full custom converter support.

  • Permission checks improved to use interaction permission fields where appropriate.

  • Fix lightbulb.commands.base.ApplicationCommand.nsfw not applying correctly for global commands.

  • Implement min_length and max_length for command options.

  • Fix deferral of slash subcommands not working as intended.