config command now works fully

This commit is contained in:
BarsTiger
2023-03-11 23:13:55 +02:00
parent b83e649349
commit 66b6da88ad
18 changed files with 297 additions and 63 deletions

View File

@@ -1,6 +1,5 @@
from bot.common import dp
from bot.callbacks.factories.common import close_keyboard_data
from aiogram import types
from aiogram import types, filters
from bot.utils.private_keyboard import other_user
@@ -12,4 +11,4 @@ async def on_close_keyboard(call: types.CallbackQuery):
def register():
dp.register_callback_query_handler(on_close_keyboard, close_keyboard_data.filter())
dp.register_callback_query_handler(on_close_keyboard, filters.Text("close_keyboard"))