v2.1.3a1
·
790 commits
to master
since this release
2.1.3a1 - 2021-11-02
Added
tanjun.dependencies.inject_lc(Type)which is a shorthand fortanjun.injected(callback=tanjun.make_lc_resolver(Type)).tanjun.dependencies.cached_inject(...)which is a shorthand fortanjun.injected(callback=tanjun.cache_callback(...)).tanjun.injectwhich is identical totanjun.injecting.injectedbut does not replace it.
Changed
- Added USE_EXTERNAL_STICKERS to DM permissions.
Client.listenersnow returns a sequence of callbacks rather than descriptors.
Fixed
- Removed
cache_callbackfrom 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.