summaryrefslogtreecommitdiff
path: root/persistence.py
diff options
context:
space:
mode:
authorMikhail Kirillov <w96k@runbox.com>2024-10-09 01:22:02 +0400
committerMikhail Kirillov <w96k@runbox.com>2024-10-09 01:45:08 +0400
commit0d6745606d3110ac312af9d773e6c0304ce614f1 (patch)
tree6050df4d7f0cc1d34b9201f0c73a1c87428e055f /persistence.py
parent71efb80b46a3edae4ca2afcfd475d33443586a9a (diff)
Add /remove and /list commands (unfinished)
Diffstat (limited to 'persistence.py')
-rw-r--r--persistence.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/persistence.py b/persistence.py
new file mode 100644
index 0000000..71758e1
--- /dev/null
+++ b/persistence.py
@@ -0,0 +1,3 @@
+from telegram.ext import PicklePersistence
+
+Persistence = PicklePersistence(filepath='db')