diff --git a/albatrobot.py b/albatrobot.py index 16a947f..7b23ce9 100644 --- a/albatrobot.py +++ b/albatrobot.py @@ -214,11 +214,11 @@ async def legal(update, context): await context.bot.send_chat_action( chat_id=update.effective_chat.id, action=ChatAction.UPLOAD_DOCUMENT) - with open('doc/LEGAL.md','rb') as legalnotes: + with open('doc/LEGAL.pdf','rb') as legalnotes: await context.bot.send_document( chat_id=update.effective_chat.id, document=legalnotes, - filename='albatrobot-legal-notes.txt') + filename='albatrobot-legal-notes.pdf') logger.info('A user asked for legal info.') diff --git a/doc/LEGAL.pdf b/doc/LEGAL.pdf new file mode 100644 index 0000000..651086f Binary files /dev/null and b/doc/LEGAL.pdf differ