Второй стрим
This commit is contained in:
12
app/handlers/events.py
Normal file
12
app/handlers/events.py
Normal 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())
|
Reference in New Issue
Block a user