python_bot/create_bot.py

8 lines
153 B
Python
Raw Normal View History

2022-12-05 17:22:23 +10:00
from aiogram import Bot, Dispatcher
from global_conf import CONFIG
2023-07-12 21:54:24 +10:00
2024-01-21 22:36:34 +10:00
2023-07-12 21:54:24 +10:00
bot = Bot(token=CONFIG['telegram_token'], parse_mode="HTML")
2023-07-12 21:54:24 +10:00
dp = Dispatcher(bot)