Hikari-lightbulb

Latest version: v2.3.5.post1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

2.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.

2.3.3

- `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.

2.3.2

**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.

2.3.1

**Potentially Breaking Changes**

- `lightbulb.cooldown_algorithms.CooldownStatus` has been moved from the `buckets` module to the
`cooldown_algorithms` module.

- `commands_run` attribute has been removed from the `lightbulb.buckets.Bucket` class.

**Other Changes**

- Add `lightbulb.commands.base.CommandLike.nsfw` and `nsfw` kwarg in `lightbulb.decorators.command`
decorator in order to mark a command as only usable in NSFW channels.

- Deprecate `lightbulb.checks.nsfw_channel_only`. Use the above new feature instead. The check will
be removed in version `2.4.0`.

- Add `lightbulb.context.base.Context.respond_with_modal`. Note that this will not work if called
on an instance of `lightbulb.context.prefix.PrefixContext`.

- Add `lightbulb.plugins.Plugin.listeners`.

- Improve `lightbulb.converters.special.MessageConverter` to support conversion of `channelid-messageid` format.

- Implement multiple built-in cooldown algorithms which can be specified when adding a cooldown to a command.

2.3.0

**Breaking Changes**

- `lightbulb.utils.Parser` api has been completely changed. If you use this class directly in your own codebase then you will need to change your code.

**Other Changes**

- Add support for hikari `2.0.0.dev113`.

- Checks should not work in threads.

- Implement application command localization.

2.2.5

- Add support for Python 3.11.

- Bump hikari requirement to `2.0.0.dev111`.

- Allow a user to iterate through `ctx.options` using `OptionsProxy.items()`.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.