diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-19 04:20:31 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-19 04:20:31 +0500 |
| commit | 5a82c8c564fd42b0f2b0daf02e3aad3392b1f3af (patch) | |
| tree | 212c1f699b6930219bbf09faac9455aa6ca79f9a /units/help.zsh | |
| parent | 1e8747a66faf1358b0577321586d5a07e795e45b (diff) | |
submodules/command_donate: Move initial check to bot initialization
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/help.zsh')
| -rw-r--r-- | units/help.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/units/help.zsh b/units/help.zsh index 224f42a..680b968 100644 --- a/units/help.zsh +++ b/units/help.zsh @@ -8,3 +8,8 @@ if [[ -n "${nocommand_source}" ]] then output_text="$(printf "%s" "${output_text}" | sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d')" fi + +if [[ -n "${nocommand_donate}" ]] +then + output_text="$(printf "%s" "${output_text}" | sed -e '/^<code>donate.*$/d' -e '/^\/donate.*$/d')" +fi |
