diff --git a/website/static/website/example.py b/website/static/website/example.py index 3ab51a1..2b1d11a 100644 --- a/website/static/website/example.py +++ b/website/static/website/example.py @@ -9,8 +9,8 @@ def hello(bot, update): updater = Updater('YOUR TOKEN HERE') -updater.dispatcher.addHandler(CommandHandler('start', start)) -updater.dispatcher.addHandler(CommandHandler('hello', hello)) +updater.dispatcher.add_handler(CommandHandler('start', start)) +updater.dispatcher.add_handler(CommandHandler('hello', hello)) updater.start_polling() updater.idle() diff --git a/website/templates/website/index.html b/website/templates/website/index.html index 11d22dc..e39a213 100644 --- a/website/templates/website/index.html +++ b/website/templates/website/index.html @@ -78,8 +78,8 @@