18 lines
378 B
Python
18 lines
378 B
Python
import aiogram
|
|
|
|
from aiogram import Bot
|
|
from aiogram.fsm.context import FSMContext
|
|
from aiogram.filters import Command
|
|
|
|
from loader import custom_logger
|
|
|
|
|
|
async def mainstart(
|
|
message: aiogram.types.Message,
|
|
state: FSMContext,
|
|
command: Command,
|
|
bot: Bot,
|
|
):
|
|
await state.clear()
|
|
custom_logger.debug("Hello!")
|
|
return await message.answer(text="hello!") |