Files
VK_bot/handlers/errors.py
2026-04-30 18:38:38 +03:00

8 lines
275 B
Python

from vkbottle.bot import Message
from services.instructions import send_instruction
from keyboards.factory import back_to_main
async def handle_error(message: Message, error_code: str):
keyboard = back_to_main()
await send_instruction(message, error_code, keyboard)