fixes-logs-imports
This commit is contained in:
@@ -8,6 +8,9 @@ from aiogram.filters import CommandStart, Command
|
||||
from aiogram.types import Message, ChatJoinRequest, CallbackQuery
|
||||
from config import BOT_TOKEN, ADMIN_ID
|
||||
from handlers.routing import handle_routing
|
||||
from handlers.callback_unlink import handle_unlink
|
||||
from handlers.callback_vouch import handle_button
|
||||
from handlers.handle_join_request import handle_join_request
|
||||
from state import State
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -28,7 +31,7 @@ async def process_callback(callback_query: CallbackQuery):
|
||||
if data.startswith("vouch"):
|
||||
await handle_button(cbq)
|
||||
elif data.startswith("unlink"):
|
||||
await handle_unlink(cbq)
|
||||
await handle_unlink(cbq, state)
|
||||
|
||||
|
||||
@router.chat_join_request()
|
||||
|
Reference in New Issue
Block a user