This commit is contained in:
levina 2022-01-31 15:58:22 +07:00 committed by GitHub
parent a69111201c
commit 16a3e6f23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ async def shellrunner(client, message):
if len(output) > 4096:
with open("output.txt", "w+") as file:
file.write(output)
await app.send_document(
await bot.send_document(
message.chat.id,
"output.txt",
reply_to_message_id=message.message_id,