Reformat output chat messages #1

Merged
doryan merged 6 commits from :fix-messages into main 2024-06-07 11:47:42 +03:00
First-time contributor
No description provided.
Ghost added 6 commits 2024-06-07 03:22:15 +03:00
480cb335bd assets: fix help messages (mute, unmute)
There are quite some problems with the way commands are explained:

* Interactivity - command arguments gets explained as if one is
  following a guide ("insert this, enter that"). Better explain them
  without any "guidance"; use present tense to describe commands.

* Duplicity - the purpose of the command is explained over and over
  when arguments are being described.

* Separation - there is no need to divide required and optional
  command arguments into their respective sections. Their amount did
  not grow up that much for this to make sense.

* mute_command_help.html: i64 would be sufficient for developers, but
  not end users. It does not stop anyone from specifying overflowing
  integer, after all.
832b6a4230 utils/telegram/try_do: shorten DEMOTE_FAILURE_MESSAGE
It would be annoying to get this long message spamming the chat window.

Such error messages should describe what has gone wrong, but not give
any guidances, advices or directions; they belong elsewhere
(documentation, wiki, etc).
a454a59593 handlers/{actions,command_handlers}: reformat messages
Avoid interactivity, make messages short.
Ghost force-pushed fix-messages from a454a59593 to 2f0ae08d4f 2024-06-07 10:47:30 +03:00 Compare
doryan merged commit 9a64001926 into main 2024-06-07 11:47:42 +03:00
doryan deleted branch fix-messages 2024-06-07 11:47:42 +03:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 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: doryan/gluon#1
No description provided.