diff --git a/app/commands/service.py b/app/commands/service.py index 7cbc1fa..956ea95 100644 --- a/app/commands/service.py +++ b/app/commands/service.py @@ -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"""