diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-07-05 08:11:30 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-07-05 08:11:30 +0500 |
| commit | 715e0da28557eb9fd0f0d1c1af235dcd64e2d707 (patch) | |
| tree | 840c336ff1cf5ca4eb1a5f7f1cdebcc0091147d7 | |
| parent | d889824114182d7de03880e9d1957d8482c7b2fc (diff) | |
submodules/command_*: Update output messages
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rw-r--r-- | submodules/command_export.zsh | 6 | ||||
| -rw-r--r-- | submodules/command_stop.zsh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/submodules/command_export.zsh b/submodules/command_export.zsh index 0c354d3..715b3c2 100644 --- a/submodules/command_export.zsh +++ b/submodules/command_export.zsh @@ -4,7 +4,7 @@ if [[ "${chat_id}" != "${user_id}" ]] then - output_text="For security reasons you can execute this command only in chat with bot" + output_text="For security reasons you can execute this command only in the bot chat" return 0 fi @@ -95,7 +95,7 @@ if ! curl --connect-timeout ${connrefused_timeout} \ --user-agent "${useragent}" \ "${api_address}/bot${api_token}/sendDocument" then - output_text="Failed to send user data" + output_text="Failed to send the user data" log_text="sendDocument (${update_id}): Failed to access Telegram Bot API" . "${units}/log.zsh" @@ -119,7 +119,7 @@ fi if [[ "$(jq -r '.ok' "${output_file}")" != "true" ]] then - output_text="Failed to send user data" + output_text="Failed to send the user data" error_description="$(jq -r '.description' "${output_file}")" if [[ "${error_description}" != "null" ]] diff --git a/submodules/command_stop.zsh b/submodules/command_stop.zsh index a873f12..b8bbf19 100644 --- a/submodules/command_stop.zsh +++ b/submodules/command_stop.zsh @@ -4,7 +4,7 @@ if [[ "${chat_id}" != "${user_id}" ]] then - output_text="For security reasons you can execute this command only in chat with bot" + output_text="For security reasons you can execute this command only in the bot chat" return 0 fi |
