I was thinking more from a UX point of view, if supported be the client commands could autocomplete or show tooltips as you write them or be replaced as buttons.

Also when first opening the DM view, it would be cool to show that commands are available to the user. The alternative would be the bot responds with the commands list if the user writes an invalid command.

Reply to this note

Please Login to reply.

Discussion

That’s how discord and telegram bots do it today. Autocomplete is hard because mobiles don’t have a tab button on the keyboard.

I have a few bots and they fallback to a cli like help text for unsupported commands or input errors.

I don’t know if a special command selection UI could work (adoption would be hard), however if you brought a way to dynamically generate forms that can be supported it may be cool.

Examples

CommandA - which can have an autocomplete pop up searching their name. Maybe even support adding multiple pubkeys via auto-select like the tag input fields.

Or

CommandB - which can show a new metric pad.

I like the form idea. Maybe the mobile UI issue could be solved with a drop down type component above the text input that highlights/filters available commands while typing. Kinda like discord

Yep. Kind of forgot mobile does have a few autocomplete approaches.. not just tab. Too much coding and I never use auto complete on mobile. 🫠

I like it.