1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-07-26 08:01:26 +00:00

Happy with current coverage close # 46

This commit is contained in:
2021-02-11 16:00:49 -07:00
parent a44008234a
commit 9b100f4926
2 changed files with 67 additions and 58 deletions

6
bot.py
View File

@@ -182,11 +182,9 @@ def dividend(update: Update, context: CallbackContext):
if symbols:
context.bot.send_chat_action(chat_id=chat_id, action=telegram.ChatAction.TYPING)
for reply in s.dividend_reply(symbols).items():
for symbol in symbols:
update.message.reply_text(
text=reply[1], parse_mode=telegram.ParseMode.MARKDOWN
text=s.dividend_reply(symbol), parse_mode=telegram.ParseMode.MARKDOWN
)