X Tutup
Skip to content

Commit 86571bc

Browse files
committed
addHandler to add_handler
1 parent d90b0f4 commit 86571bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/inlinekeyboard_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def error(bot, update, error):
9797
updater = Updater("TOKEN")
9898

9999
# The command
100-
updater.dispatcher.addHandler(CommandHandler('set', set_value))
100+
updater.dispatcher.add_handler(CommandHandler('set', set_value))
101101
# The answer
102102
updater.dispatcher.add_handler(MessageHandler([Filters.text], entered_value))
103103
# The confirmation

0 commit comments

Comments
 (0)
X Tutup