aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
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 /.gitignore
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions