aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2024-08-06 01:14:49 +0300
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2024-08-06 01:15:48 +0300
commit5621b59a88ba7d4dc688818111c566102dfb6f17 (patch)
tree8323672d72ff9315c2793ff7e10bf54468cabe31
parentbb756a5a06b5af22ce82ac37750a030be05ee370 (diff)
Initial releasev1.0
Co-authored-by: Danil Lisin <sekoohaka.sakuyou@gmail.com> Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
-rwxr-xr-xbot.sh3
-rw-r--r--submodules/help2
2 files changed, 3 insertions, 2 deletions
diff --git a/bot.sh b/bot.sh
index 16cc9b8..11f41a3 100755
--- a/bot.sh
+++ b/bot.sh
@@ -9,6 +9,7 @@
set -e
umask 77
+version="1.0"
dir="${0%/*}"
cache="${dir}/cache/${$}"
config="${dir}/config"
@@ -50,7 +51,7 @@ fi
if [ -n "${help}" ]
then
- echo "Sekoohaka Bot" \
+ echo "Sekoohaka Bot v${version}" \
"\n\nUsage: ${0} [options] [token]" \
"\n\nOptions:" \
"\n -h\t\tShow help information" \
diff --git a/submodules/help b/submodules/help
index 4624b4c..b0b2414 100644
--- a/submodules/help
+++ b/submodules/help
@@ -4,7 +4,7 @@
# Copyright (C) 2024 Danil Lisin
# SPDX-License-Identifier: Apache-2.0
-help_text="$(echo "<b>Sekoohaka Bot</b>" \
+help_text="$(echo "<b>Sekoohaka Bot v${version}</b>" \
"\n\n<b>Fields descriptions:</b>" \
"\n[command] - Inline command" \
"\n[b] - Image board" \