Releases: FasterSpeeding/Tan-chan
Releases · FasterSpeeding/Tan-chan
v0.4.3
v0.4.2
v0.4.1
v0.4.0
0.4.0 - 2023-08-28
Added
- Configurable and optional help commands which display information about the loaded commands. These can be loaded from
tanchan.components.help
. - Configurable and optional eval commands which let bot owners dynamically execute code in the bot's runtime. These can be loaded from
tanchan.components.eval
. - The logic and builder for a stateless Yuyo button which lets command authors delete responses. This can be loaded from
tanchan.components.buttons
and is used by the eval and help commands.
v0.3.1
v0.3.0
v0.2.2.post
0.2.2.post - 2023-03-04
Fixed
SlashCommandGroup.as_sub_command
now actually adds the created command to the group.
v0.2.2
0.2.2 - 2023-03-03
Added
- Extended
tanjun.SlashCommandGroup
impl attanchan.doc_parse.SlashCommandGroup
where thename
, anddescription
parameters are now optional and introspected from the callback's docstring by default forSlashCommandGroup.as_sub_command
.SlashCommandGroup.make_sub_group
also returns atanchan.doc_parse.SlashCommandGroup
instance. - Optional
description
arg totanchan.doc_parse.as_slash_command
to allow overriding the introspected value.
Changed
tanchan.doc_parse.as_slash_command
is now typed to allow decorating commands which match the abstract types intanjun.abc
, not just the standard impls.- A mapping of locales to values can now be passed for
name
totanchan.doc_parse.as_slash_command
.
v0.2.1
v0.2.0
0.2.0 - 2022-12-07
Added
- Support for Sphinx style reST docs to doc parse.
- Optional
name
argument totanchan.doc_parse.as_slash_command
which allows overriding the command's name.
Fixed
tanchan.doc_parse.as_slash_command
no-longer errors when the callback's docstring is just the description anddoc_style
isNone
.tanchan.doc_parse.with_annotated_args
now allowsNone
to be explicitly passed todoc_style
typing wise.