1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix example echo bot command list bug.

This commit is contained in:
eternnoir 2015-07-03 15:04:11 +08:00
parent 15f4188a30
commit 645c0b7fb4

View File

@ -9,7 +9,7 @@ bot = telebot.TeleBot(API_TOKEN)
# Handle '/start' and '/help' # Handle '/start' and '/help'
@bot.message_handler(commands=['help, start']) @bot.message_handler(commands=['help', 'start'])
def send_welcome(message): def send_welcome(message):
bot.reply_to(message, """\ bot.reply_to(message, """\
Hi there, I am EchoBot. Hi there, I am EchoBot.