1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00

removed news command handler

This commit is contained in:
Anson 2019-05-28 05:02:25 -07:00
parent bc09be8ea4
commit c49a2c321e

1
bot.py
View File

@ -82,7 +82,6 @@ def main():
# on different commands - answer in Telegram # on different commands - answer in Telegram
dp.add_handler(CommandHandler("start", start)) dp.add_handler(CommandHandler("start", start))
dp.add_handler(CommandHandler("help", help)) dp.add_handler(CommandHandler("help", help))
dp.add_handler(CommandHandler("news", news))
dp.add_handler(CommandHandler("dividend", dividend)) dp.add_handler(CommandHandler("dividend", dividend))
# on noncommand i.e message - echo the message on Telegram # on noncommand i.e message - echo the message on Telegram