logbot: handle more ambiguous input, #29

Open
opened 2021-12-01 17:58:06 +01:00 by rra · 1 comment

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*

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/bots#29
No description provided.