aboutsummaryrefslogtreecommitdiff
path: root/velascobot2/parrot.py
diff options
context:
space:
mode:
Diffstat (limited to 'velascobot2/parrot.py')
-rw-r--r--velascobot2/parrot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/velascobot2/parrot.py b/velascobot2/parrot.py
index 9ca139a..02e5495 100644
--- a/velascobot2/parrot.py
+++ b/velascobot2/parrot.py
@@ -133,3 +133,7 @@ class Parrot:
def update_chat_set_silenced(self, chat_id: str, silenced: bool):
self.db.update_chat_set_silenced(chat_id, silenced)
+
+ # I made an oopsie when converting the old jsons to sqlite. I will remove this in the next commit
+ def fix_all_chats(self):
+ self.db.fix_all_chats()