Skip to content

Conversation

Gnuxie
Copy link
Contributor

@Gnuxie Gnuxie commented Sep 1, 2025

I don't believe it is sensible to allow freedom in the body representation of a command in regards to how options look. We already have to make some decisions we are imposing on bots (that options can only appear once). https://github.com/matrix-org/matrix-spec-proposals/pull/4332/files#r2313755345

It is possible to attempt this via a pathway of adding a special variadic argument for options that allows freedom in how options are represented, but not their position in the command1. But by doing so we would remove the ability for the client to structurally understand options and set them individually, defeating the purpose of the MSC.

Signed-off-by: Gnuxie [email protected]

Footnotes

  1. This restriction on position will break compatibility with a bot. And i raise it specifically because i no longer think we should design the command description system with body as a fallback for backwards compatibility with existing bots. Because it is requiring to make poor decisions.

@turt2live turt2live self-assigned this Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants