aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-08-11 13:55:16 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-11 13:55:16 +0200
commita16f0be99ea25e9102c9863db6c32dd4cb96c0a7 (patch)
tree1cae025664da6d4f75eae98dfd98db84c64f1aa4
parente321e1c89ac702a2b388ce5b5e1b4f34ce86745e (diff)
downloadgeldschieberbot-a16f0be99ea25e9102c9863db6c32dd4cb96c0a7.tar.gz
geldschieberbot-a16f0be99ea25e9102c9863db6c32dd4cb96c0a7.zip
add GSB_USER variable back because it is used in run.sh
-rw-r--r--config.sh.sample4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.sh.sample b/config.sh.sample
index 7df517c..747236e 100644
--- a/config.sh.sample
+++ b/config.sh.sample
@@ -4,8 +4,10 @@
export GSB_GROUP_ID="your_groupid"
# File where the bot's state should be stored
export GSB_STATE_FILE="${GSB_STORE_PATH}/state.json"
+# User account to retrieve messages in the run.sh script
+export GSB_USER="<your-phone-number>"
# Command the bot uses to send responses
-#export GSB_SEND_CMD="signal-cli -u <your-phone-number> send --message-from-stdin -g ${GSB_GROUP}"
+#export GSB_SEND_CMD="signal-cli -u ${GSB_USER} send --message-from-stdin -g ${GSB_GROUP}"
export GSB_SEND_CMD=""
GSB_STATE_DIR="$(dirname "$GSB_STATE_FILE")"