From de0726856974b26813a13203f055f6cbd98b8039 Mon Sep 17 00:00:00 2001 From: Maria Lisina Date: Mon, 22 Sep 2025 17:54:30 +0500 Subject: bot: Preload help and donate content Signed-off-by: Maria Lisina --- units/help.zsh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 units/help.zsh (limited to 'units') diff --git a/units/help.zsh b/units/help.zsh deleted file mode 100644 index ea1e486..0000000 --- a/units/help.zsh +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (C) 2024-2025 Maria Lisina -# Copyright (C) 2024-2025 Danil Lisin -# SPDX-License-Identifier: Apache-2.0 - -output_text="$(sed "s/{version}/${version}/" < "${files}/help.txt")" - -if [[ -n "${nocommand_donate}" ]] -then - output_text="$(sed -e '/^donate.*$/d' -e '/^\/donate.*$/d' <<< "${output_text}")" -fi - -if [[ -n "${nocommand_source}" ]] -then - output_text="$(sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d' <<< "${output_text}")" -fi -- cgit v1.2.3