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

Update text.

This commit is contained in:
FrankWang 2015-07-30 11:40:54 +08:00
parent 004f6917aa
commit 8abd3fe140

View File

@ -55,7 +55,7 @@ def process_age_step(message):
user.age = age user.age = age
markup = types.ReplyKeyboardMarkup(one_time_keyboard=True) markup = types.ReplyKeyboardMarkup(one_time_keyboard=True)
markup.add('Male', 'Female') markup.add('Male', 'Female')
msg = bot.reply_to(message, 'What is your sex', reply_markup=markup) msg = bot.reply_to(message, 'What is your gender', reply_markup=markup)
bot.register_next_step_handler(msg, process_sex_step) bot.register_next_step_handler(msg, process_sex_step)
except Exception as e: except Exception as e:
bot.reply_to(message, 'oooops') bot.reply_to(message, 'oooops')