diff --git a/website/templates/website/index.html b/website/templates/website/index.html index 28afcfa..c43247c 100644 --- a/website/templates/website/index.html +++ b/website/templates/website/index.html @@ -13,20 +13,18 @@
from telegram.ext import Updater, CommandHandler
-def start(bot, update):
- update.message.reply_text('Hello World!')
def hello(bot, update):
update.message.reply_text(
'Hello {}'.format(update.message.from_user.first_name))
- updater = Updater('YOUR TOKEN HERE')
- updater.dispatcher.add_handler(CommandHandler('start', start))
- updater.dispatcher.add_handler(CommandHandler('hello', hello))
+updater = Updater('YOUR TOKEN HERE')
- updater.start_polling()
- updater.idle()
+updater.dispatcher.add_handler(CommandHandler('hello', hello))
+
+updater.start_polling()
+updater.idle()