diff --git a/sukuinote/plugins/shell.py b/sukuinote/plugins/shell.py index de215fb..69baf69 100644 --- a/sukuinote/plugins/shell.py +++ b/sukuinote/plugins/shell.py @@ -29,7 +29,7 @@ async def shell(client, message): f = BytesIO(out.strip().encode('utf-8')) f.name = "output.txt" await reply.delete() - await message.reply_document(f) + await message.reply_document(f, caption=f'Exit Code: {returncode}') else: await reply.edit_text(text)