[check] some fixes

This commit is contained in:
levina 2022-02-25 14:12:17 +07:00 committed by GitHub
parent f5209cc705
commit d7f8b2b505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,7 @@ async def give_sysinfo(c: Client, message: Message):
@Client.on_message(command(["logs", f"logs@{BOT_USERNAME}"]) & ~filters.edited)
@sudo_users_only
async def get_bot_logs(c: Client, m: Message):
id = me_bot.id
bot_log_path = f'streambot-logs-{id}.txt'
bot_log_path = f'streambot-logs-{me_bot.id}.txt'
if os.path.exists(bot_log_path):
try:
await m.reply_document(