From 645c0b7fb48dc07a105bda246c792023712b954e Mon Sep 17 00:00:00 2001 From: eternnoir Date: Fri, 3 Jul 2015 15:04:11 +0800 Subject: [PATCH] Fix example echo bot command list bug. --- examples/echo_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/echo_bot.py b/examples/echo_bot.py index d3538a8..4d0aebc 100644 --- a/examples/echo_bot.py +++ b/examples/echo_bot.py @@ -9,7 +9,7 @@ bot = telebot.TeleBot(API_TOKEN) # Handle '/start' and '/help' -@bot.message_handler(commands=['help, start']) +@bot.message_handler(commands=['help', 'start']) def send_welcome(message): bot.reply_to(message, """\ Hi there, I am EchoBot.