hatiko_task/bot/main.py

15 lines
246 B
Python
Raw Permalink Normal View History

2025-01-24 18:23:45 +10:00
import asyncio
import logging
from src.dispatcher import dispatcher
from src.bot import bot
logging.basicConfig(level=logging.INFO)
async def main():
await dispatcher.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())