Bot correction markdown and logic mistake in updater #172

Merged
FlorianKellermann merged 20 commits from bot into main 2022-05-10 20:45:53 +00:00
Showing only changes of commit e03087510a - Show all commits

View File

@ -584,14 +584,7 @@ def send_transactions(message):
amount = hf.make_markdown_proof(transaction['count'])
price = hf.make_markdown_proof(transaction['price'])
time = hf.make_markdown_proof(transaction['time'])
"""
comment = transaction['comment']
isin = transaction['isin']
amount = transaction['count']
price = transaction['price']
time = transaction['time']
"""
print(f'_{comment}_\n{isin}\namount: {amount}\nprice: {price}\ntime: {time}')
bot.send_message(chat_id=user_id, text=f'_{comment}_\n{isin}\namount: {amount}\nprice: {price}\ntime: {time}', parse_mode="MARKDOWNV2")