songy

telegram bot as a songbook
git clone git://git.relim.de/songy.git
Log | Files | Refs | README | LICENSE

commit fe818d6ee37dcab52fde3ba42cff0ace2a630cf1
parent ac39444b6ac88eba7b2ab1aaadf805eec20ccc5b
Author: devrobinkroeker <kroekerrobin@gmail.com>
Date:   Tue, 11 Apr 2023 12:16:03 +0200

v1.0.3

Diffstat:
MREADME.md | 5+++++
Mbuild_for_release.sh | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -8,6 +8,11 @@ This bot provides an interface to files. It is meant to be used as a digital son <img src="https://github.com/devrobinkroeker/songs/raw/master/example.gif" alt="example" height="600" /> +### bot commands + +To let telegram know what commands the bot provides you have to set these in the [BotFather](https://telegram.me/BotFather). +The `/list` command lists all available files in the provided --songs-path recursively. There is one thing you can do for additional structuring. Suppose you have provided the path `/var/songs` as the --songs-path. If you create the subfolder `/var/songs/en` then the command `/en` will be available in the bot to list only files/songs recursively in that subfolder. That way you could organize your songs in different languages. + ## installation 1. Download the [latest release](https://github.com/devrobinkroeker/songs/releases) executable diff --git a/build_for_release.sh b/build_for_release.sh @@ -5,7 +5,7 @@ # run in on any x86_64 based system. (That's how I understand it) read -p "Version Number (e.g. v1.2.3): " versionNumber declare -a cmds=( - "git tag -a $versionNumber -m '$versionNumber'" + "git tag $versionNumber" "cargo build -r --target x86_64-unknown-linux-musl" "cp target/x86_64-unknown-linux-musl/release/songs ." "mv songs songs_"$versionNumber"_x86_64-unknown-linux-musl"