wakoinc on Nostr: That’s how discord and telegram bots do it today. Autocomplete is hard because ...
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 <pubkey> - 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 <amount> - which can show a new metric pad.
Published at
2023-04-26 09:02:55Event JSON
{
"id": "5dcc5b809b18d56f9d258a34ca338f427d7fc8b42e74d60a79e8084e44e381ca",
"pubkey": "b2dd40097e4d04b1a56fb3b65fc1d1aaf2929ad30fd842c74d68b9908744495b",
"created_at": 1682499775,
"kind": 1,
"tags": [
[
"e",
"72164689e63959c4f42e0c7127e5b19a270ecd65f79d574161748144728fe8e0"
],
[
"e",
"4f5f976aa53f2f82d82c77b3caef12cfa138e2989023d7848a28761c2796ff84"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"23249c4d0e3dec5e29240dfc248ef9b5944558441e3363139c68fb3f587f1b3c"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"23249c4d0e3dec5e29240dfc248ef9b5944558441e3363139c68fb3f587f1b3c"
]
],
"content": "That’s how discord and telegram bots do it today. Autocomplete is hard because mobiles don’t have a tab button on the keyboard. \n\nI have a few bots and they fallback to a cli like help text for unsupported commands or input errors. \n\nI 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. \n\nExamples\n\nCommandA \u003cpubkey\u003e - which can have an autocomplete pop up searching their name. Maybe even support adding multiple pubkeys via auto-select like the tag input fields. \n\nOr\n\nCommandB \u003camount\u003e - which can show a new metric pad. ",
"sig": "909c055556b60ad5ed5df18fd62899d983e0364927f3b8e841962ebd875b519a70c8f449c798d67bcfae8c1b8476b0fcc548195109c1a5663de6e21737884259"
}