Skip to content

v2.1.3a1

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 02 Nov 03:26
· 790 commits to master since this release
79041dc

2.1.3a1 - 2021-11-02

Added

  • tanjun.dependencies.inject_lc(Type) which is a shorthand for tanjun.injected(callback=tanjun.make_lc_resolver(Type)).
  • tanjun.dependencies.cached_inject(...) which is a shorthand for tanjun.injected(callback=tanjun.cache_callback(...)).
  • tanjun.inject which is identical to tanjun.injecting.injected but does not replace it.

Changed

  • Added USE_EXTERNAL_STICKERS to DM permissions.
  • Client.listeners now returns a sequence of callbacks rather than descriptors.

Fixed

  • Removed cache_callback from injecting.pyi.
  • Some bodged logging calls in declare_slash_commands which weren't providing the right amont of format args.
  • Options not being sorted for slash commands within a command group.
  • Stop shlex from treating stuff after a # as a comment.