add README.md and update all dependencies
This commit is contained in:
@@ -2,6 +2,7 @@ import asyncio
|
||||
from datetime import datetime
|
||||
|
||||
from aiogram import Dispatcher, Bot, F
|
||||
from aiogram.client.default import DefaultBotProperties
|
||||
from aiogram.enums import ParseMode
|
||||
from aiogram.filters import Command
|
||||
from aiogram.types import Message
|
||||
@@ -9,7 +10,7 @@ from aiogram.types import Message
|
||||
from DB import UseDB
|
||||
from additional_functions import on_notification, set_group, timetable_for_day, timetable_day
|
||||
|
||||
TOKEN = "6555348338:AAHhjvljGrW9wt1ZKjMEIiBEOyHDNCFznKU"
|
||||
TOKEN = "7171391557:AAGickIyKK-kCAWUO4V_5X3m1_6F4Cmgmdw"
|
||||
dp = Dispatcher()
|
||||
|
||||
|
||||
@@ -81,7 +82,7 @@ async def send_notification(bot):
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
bot = Bot(TOKEN, parse_mode=ParseMode.HTML)
|
||||
bot = Bot(TOKEN, default=DefaultBotProperties(parse_mode=ParseMode.HTML))
|
||||
_ = asyncio.create_task(send_notification(bot))
|
||||
await dp.start_polling(bot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user