v1.0.0 beta 10

This commit is contained in:
2026-03-06 12:12:16 +03:00
parent 9895edf966
commit f42d47af53
8 changed files with 43 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ func generateBotCommand[T any](cmd Command[T]) tgapi.BotCommand {
var descArgs []string
for _, a := range cmd.args {
if a.required {
descArgs = append(descArgs, fmt.Sprintf("%s", a.text))
descArgs = append(descArgs, a.text)
} else {
descArgs = append(descArgs, fmt.Sprintf("[%s]", a.text))
}