some updates

This commit is contained in:
2026-03-13 15:30:06 +03:00
parent 0913a7de33
commit d4afebd20f
3 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ func RegisterRP() *laniakea.Plugin[database.Context] {
rp.NewPayload(newChat, "rp.new_chat")
rp.NewCommand(
generate, "g",
*laniakea.NewCommandArg("prompt", laniakea.CommandValueAnyType),
*laniakea.NewCommandArg("prompt").SetValueType(laniakea.CommandValueAnyType),
).SetDescription("Генерация РП")
rp.NewCommand(generate, "gen").SkipCommandAutoGen()
rp.NewCommand(generate, "г").SkipCommandAutoGen()