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:
parent
15f4188a30
commit
645c0b7fb4
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user