Hikari-arc

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 3

1.4.0

- Add new optiontype with converter for `hikari.Emoji`.
- Work around `hikari` bug to solve command sync failing when a command has localizations.
- Bump `hikari` to `v2.0.0`.
- Add Python 3.13 support.

1.3.4

- Fix included basic hooks not working due to signature parsing.

1.3.3

- Fix hooks defined as async callable classes not working. (For instance, limiters)

1.3.2

- Add `IntervalLoop.set_interval()` to change the loop interval after loop creation.
- Fix error handling with slash subcommands sometimes causing infinite recursion.

1.3.1

- Add the ability to configure if an `IntervalLoop` should run immediately after being started or not.
- Fix `CronLoop` running immediately after being started.

1.3.0

- **Deprecate** `Client.set_startup_hook` and `Client.set_shutdown_hook`. These will be removed in `v2.0.0`. Use the newly added `Client.add_startup_hook` and `Client.add_shutdown_hook` instead.
- Add options with converters. These options do not exist on Discord's end, arc simply tries to convert a more primitive optiontype into the requested one, failing if it is not possible.
- Add new optiontypes with converters for `hikari.Member` and `hikari.Color`.
- Add `arc.OptionConverterFailureError` when a converter fails to convert an option value.
- Add support for injecting dependencies contextually to command callbacks, hooks, and error handlers via `Client.add_injection_hook` and `Client.remove_injection_hook`.
- Add support for multiple startup & shutdown hooks via `Client.add_startup_hook` and `Client.add_shutdown_hook` respectively.
- Inject dependencies by default into pre/post-execution hooks & error handlers.
- Fix client hooks being executed twice if a command is added to a plugin.
- Fix options mapping not taking name overrides into account.
- Bump alluka to `0.3+`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.