mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix empty env bot_admin
This commit is contained in:
@@ -246,7 +246,8 @@ async def post_init(application: Application) -> None:
|
||||
|
||||
|
||||
async def post_stop(application: Application) -> None:
|
||||
await application.bot.send_message(common.ADMIN[0], "Shutting down...")
|
||||
if common.ADMIN:
|
||||
await application.bot.send_message(common.ADMIN[0], "Shutting down...")
|
||||
|
||||
|
||||
async def post_shutdown(application: Application) -> None:
|
||||
|
||||
Reference in New Issue
Block a user