You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extended tanjun.SlashCommandGroup impl at tanchan.doc_parse.SlashCommandGroup where the name, and description parameters are now optional and introspected from the callback's docstring by default for SlashCommandGroup.as_sub_command. SlashCommandGroup.make_sub_group also returns a tanchan.doc_parse.SlashCommandGroup instance.
Optional description arg to tanchan.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 in tanjun.abc, not just the standard impls.
A mapping of locales to values can now be passed for name to tanchan.doc_parse.as_slash_command.