aboutsummaryrefslogtreecommitdiff
path: root/config.sh.sample
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2018-12-13 02:58:04 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2018-12-13 02:58:04 +0100
commite97e42135b7520e6eaf34f46e388ac86b49a59b2 (patch)
treea357e81cff2c6255f7c587348d5fab18e68d07bf /config.sh.sample
parent247f24c3bbedc96efeb8e72ecb93cbbcf00d548c (diff)
downloadgeldschieberbot-e97e42135b7520e6eaf34f46e388ac86b49a59b2.tar.gz
geldschieberbot-e97e42135b7520e6eaf34f46e388ac86b49a59b2.zip
refactor and initial implementation of scheduled_cmds
* Now the state is stored in a single file at $GSB_STATE_FILE. * Fixed some typos. * Commands are now functions in a dict. The sender_number, the args, and the whole message are passed to the command functions. * for each scheduled command a name, the command args and the timestamp of the last execution are stored. * datetime.timedelta objects are used to check if a scheduled cmd should run
Diffstat (limited to 'config.sh.sample')
-rw-r--r--config.sh.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.sh.sample b/config.sh.sample
index 247a382..a954658 100644
--- a/config.sh.sample
+++ b/config.sh.sample
@@ -2,11 +2,11 @@
# Group the bot should monitor
export GSB_GROUP_ID=""
-# Path where the bots data shoul be stored
+# Path where the bots data should be stored
export GSB_STORE_PATH="~/geldschieberbot"
# Command the bot uses to send responses
export GSB_SEND_CMD=""
-# SIganl user the bot should use
+# Signal user the bot should use
export GSB_USER=""
# create GSB_STORE_PATH