Spaces:
No application file
No application file
| import os | |
| import asyncio | |
| import logging | |
| from aiogram import Bot, Dispatcher, types | |
| from aiogram.filters import Command | |
| from aiogram.fsm.storage.memory import MemoryStorage | |
| BOT_TOKEN = os.getenv("BOT_TOKEN") | |
| bot = Bot(token=BOT_TOKEN) | |
| dp = Dispatcher(storage=MemoryStorage()) | |
| async def start(message: types.Message): | |
| await message.answer("✨ Добро пожаловать в LongField Clinic!") | |
| async def main(): | |
| await dp.start_polling(bot) | |
| if __name__ == "__main__": | |
| asyncio.run(main()) |