Support for sending stickers to just MessageContext.respond.
Support for localising slash command option choice names.
Support for passing a sequence of hikari.CommandChoices to choices when adding an option to a slash command.
Changed
Bumped the minimum Hikari version to 2.0.0.dev118.
v2.12.0
[2.12.0] - 2023-03-12
Added
Support for declaring the options for a command using **kwargs: typing.Unpack[TypedDict] when using the annotations parsing impl in tanjun.annotations.
tanjun.abc.NO_PASS for marking command options as being not passed when they weren't provided.
Support for declaring command options through default descriptors. These
descriptors are:
[tanjun.annotations.attachment_field][]
[tanjun.annotations.bool_field][]
[tanjun.annotations.channel_field][]
[tanjun.annotations.float_field][]
[tanjun.annotations.int_field][]
[tanjun.annotations.member_field][]
[tanjun.annotations.mentionable_field][]
[tanjun.annotations.role_field][]
[tanjun.annotations.str_field][]
[tanjun.annotations.user_field][]
Deprecated
Using the following classes as generic types (i.e. Class[...]):
[tanjun.annotations.Converted][]
[tanjun.annotations.Default][]
[tanjun.annotations.Greedy][]
[tanjun.annotations.Length][]
[tanjun.annotations.Max][]
[tanjun.annotations.Min][]
[tanjun.annotations.Positional][]
[tanjun.annotations.Ranged][]
[tanjun.annotations.SnowflakeOr][]
These can still be passed as other args to typing.Annotated after being
initialised.
[2.13.0] - 2023-04-10
Added
Support for sending stickers to just [MessageContext.respond][tanjun.abc.MessageContext.respond].
Support for localising slash command option choice names.
Support for passing a sequence of [hikari.CommandChoice][hikari.commands.CommandChoice]s
to choices when adding an option to a slash command.
Changed
Bumped the minimum Hikari version to 2.0.0.dev118.
[2.12.0] - 2023-03-12
Added
Support for declaring the options for a command using
**kwargs: typing.Unpack[TypedDict] when using the annotations parsing impl in
[tanjun.annotations][].
[tanjun.abc.NO_PASS][] for marking command options as being not passed when they
weren't provided.
Changed
Marked deprecated classes, functions and overloads as deprecated using typing.deprecated.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps hikari-tanjun from 2.7.0a1 to 2.14.0.
Release notes
Sourced from hikari-tanjun's releases.
... (truncated)
Changelog
Sourced from hikari-tanjun's changelog.
... (truncated)
Commits
fc8369f
Bump ver for release (#753)5fdde78
Bump piped from5bd3c7a
tob44b616
(#755)5240f00
Bump piped from8b916ea
to5bd3c7a
(#754)52b0e4c
Move annotations docs to the module's docstring (#752)afc59c1
Implement default descriptors for arg parsing (#746)acac9a3
Deprecate using annotations classes as generic types (#730)d556371
Bump piped from2750591
to8b916ea
(#750)31fdafd
Switch to using mock package in tests (#751)9de8591
Small usage guide consistency change (#744)97459ef
Move usage guide examples out to docs_src (#745)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)