add update commit

This commit is contained in:
Rykov7
2023-04-06 04:09:28 +03:00
parent b622947a12
commit 19395e4e37
+1
View File
@@ -139,6 +139,7 @@ def set_antispam_report_reminder(message: types.Message):
session.query(Chat).filter(Chat.chat_id == message.chat.id).update(
{"antispam": antispam, "report": rep, "reminder": rem}
)
session.commit()
bot.send_message(
message.chat.id, f"""Настройки обновлены. Проверить: /get_group_info"""