logbot: handle more ambiguous input, #29

Open
opened 2 years ago by rra · 1 comments
rra commented 2 years ago

i'm pretty sure there is a delete in the logbot

Logbot: Hmm ... not sure what you want to do?

gets that it is addressed, but does not provide other help e.g. try logbot @help


There is a way it should spit out a help
@logbot

Logbot: Hmm ... not sure what you want to do?

@logbot Help

Logbot: Hmm ... not sure what you want to do?

could be more helpful/responsive to misformed queries


ahhhhh you were doing @logbot and not logbot, the @ goes on the command

@ is normally used to refer to a user (see for example how gitea formats this post). It is counterintuitive to have this be the command instead.


Logbot @delete 441

fails silently on the capital letter L

> i'm pretty sure there is a delete in the logbot > Logbot: Hmm ... not sure what you want to do? *gets that it is addressed, but does not provide other help e.g. try logbot @help* ----- >There is a way it should spit out a help > @logbot > Logbot: Hmm ... not sure what you want to do? >@logbot Help > Logbot: Hmm ... not sure what you want to do? *could be more helpful/responsive to misformed queries* ----- > ahhhhh you were doing @logbot and not logbot, the @ goes on the command @ is normally used to refer to a user (see for example how gitea formats this post). It is counterintuitive to have this be the command instead. ----- > Logbot @delete 441 *fails silently on the capital letter L*
mb commented 2 years ago

Thanks for making this issue @rra!

Hmm, some of the remarks refer back to the xbotlib library, others can be changed in the logbot code directly.

Regarding the request for a more helpful response to misformed queries: the help text can be edited in logbot directly

Regarding the syntax of calling a bot: this is based on the bot commands of xbotlib, see https://git.vvvvvvaria.org/decentral1se/xbotlib#commands.

I think it makes sense to switch to @logbot help or @logbot delete, as this is also a common way to refer to someone in non-programmatic environments, like emails for example. It would be nice to also keep the support for logbot: help, as this seems to be the XMPP-way to refer to someone?

And yes, it would be nice if logbot also listens to @Logbot with a capital "L"!

Thanks for making this issue @rra! Hmm, some of the remarks refer back to the [xbotlib](https://git.vvvvvvaria.org/decentral1se/xbotlib) library, others can be changed in the logbot code directly. Regarding the request for **a more helpful response to misformed queries**: the help text can be edited in logbot directly Regarding the **syntax of calling a bot**: this is based on the bot commands of xbotlib, see https://git.vvvvvvaria.org/decentral1se/xbotlib#commands. I think it makes sense to switch to `@logbot help` or `@logbot delete`, as this is also a common way to refer to someone in non-programmatic environments, like emails for example. It would be nice to also keep the support for `logbot: help`, as this seems to be the XMPP-way to refer to someone? And yes, it would be nice if logbot also listens to `@Logbot` with a capital "L"!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.