aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-11-18 11:25:50 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2021-11-18 11:25:50 +0100
commitd5119809549c3a8255c1677a98451e88115f674e (patch)
tree6540474161b19e5556bfa7d024179df1f7271c99 /test.py
parentb2f0f481eee4f9be48e1212bd27a8671c2e9ceca (diff)
downloadgeldschieberbot-d5119809549c3a8255c1677a98451e88115f674e.tar.gz
geldschieberbot-d5119809549c3a8255c1677a98451e88115f674e.zip
geldschieberbot: add export-state cmd
Add new command sending the state as an attachment. To allow this we refactor the return type of the command functions intead of returning a tuple(msg, err) they now return a dictionary. This is more flexible the members are position independent and it allows us to add arbitraty new return values like 'attachment'. If 'attachment' is present in the result of a command it will be attached to the message send.
Diffstat (limited to 'test.py')
0 files changed, 0 insertions, 0 deletions