Pressing Enter on a typed slash command now runs the best match instead of sending text.
What's wrong with this entry?
Submitting the prompt while a slash command is typed now resolves the best matching command and executes it, rather than sending the text as a message. The matcher behind command search was also rebuilt with an explicit ranking order.
- Ranking runs exact name or display match, exact alias, shortest prefix, alias prefix, bucketed fuzzy score, then a caller-supplied boost.
- Callers can pass a filter to restrict which commands are considered.
displayPartKey
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
A crashing slash command now tells you it crashed
Both mention slash command
-
v2.1.234
A command can decide from its arguments whether it counts as sensitive
Both mention slash command
-
v2.1.234
A slash-command grouping for a command that does not exist
Both mention slash command