summaryrefslogtreecommitdiff
path: root/persistence.py
diff options
context:
space:
mode:
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')