Второй стрим

This commit is contained in:
2024-03-11 01:56:43 +04:00
parent 2649b9136a
commit 62922cf613
11 changed files with 147 additions and 12 deletions

12
app/handlers/events.py Normal file
View File

@ -0,0 +1,12 @@
from app.settings import bot, Secrets
from app.utils.commands import set_commands
from app import views
async def start_bot():
await set_commands(bot)
await bot.send_message(Secrets.admin_id, views.start_bot_message())
async def stop_bot():
await bot.send_message(Secrets.admin_id, views.stop_bot_message())