Closed carafelix closed 3 months ago
The line responsible for selecting the text to be search against while looking for similar command names makes too much assumptions about the user input and dev preferences regarding what is a command and where it's located https://github.com/grammyjs/commands/blob/9303b26c4b793c1ff0a9b09feb3b4ef931fc5c86/src/context.ts#L74 implies that:
this assumptions are contradictory with the plugin features that:
and contradictory with the user unexpected behavior of typing:
this could be mitigated making use of the proposed addition of hydrated command entities in #31
The line responsible for selecting the text to be search against while looking for similar command names makes too much assumptions about the user input and dev preferences regarding what is a command and where it's located https://github.com/grammyjs/commands/blob/9303b26c4b793c1ff0a9b09feb3b4ef931fc5c86/src/context.ts#L74 implies that:
this assumptions are contradictory with the plugin features that:
and contradictory with the user unexpected behavior of typing:
this could be mitigated making use of the proposed addition of hydrated command entities in #31