bots: document that CreateActiveUser can return a non-active profile

The generated docs still said "Create new user profile." with response "ActiveUser:
Active user profile", which is no longer true when keepActiveUser is set. The record
generator has no per-field description slot, so the command description is the only
place a bot author can learn this.
This commit is contained in:
Narasimha-sc
2026-08-06 13:34:37 +00:00
parent fec195fe7b
commit e0cde46149
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ chatCommandsDocsData =
[ ("ShowActiveUser", [], "Get active user profile.", ["CRActiveUser", "CRChatCmdError"], [], Nothing, "/user"),
( "CreateActiveUser",
[],
"Create new user profile.",
"Create new user profile. The new profile becomes the active one, unless keepActiveUser is set - in that case the current profile stays active. The response carries the created profile either way, so with keepActiveUser it is not the active profile.",
["CRActiveUser", "CRChatCmdError"],
[TD "CEUserExists" "User or contact with this name already exists", TD "CEInvalidDisplayName" "Invalid user display name"],
Nothing,