8 lines
275 B
Python
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)
|