Подскажите как без регитсрации сообщения сразу перейти к следующему блоку?(game3)
def game3(message):
if yn < 5:
global lst, cor_answ, user_markup_game1, msg0
moves.append(message.text)
quest = sqlite3.connect(dict.socpath).cursor()
dbname = dict.nums.get(9)
query = "SELECT Task, CorrectAnswer FROM " + dbname + " ORDER BY random() LIMIT 1"
quest.execute(query)
row = quest.fetchone()
data = row[0]
b = data.split(',')
user_markup_game1 = types.ReplyKeyboardMarkup(resize_keyboard=True)
user_markup_game1.add(
*[types.KeyboardButton(name) for name in [b[1], b[2]]])
user_markup_game1.add(
*[types.KeyboardButton(name) for name in [b[3], b[4]]])
cor_answ = row[1]
lst.append(cor_answ.lower())
msg0 = bot.send_message(message.from_user.id, b[0], reply_markup=user_markup_game1)
quest.close()
bot.register_next_step_handler(msg0, ud)
else:
bot.register_next_step_handler(message, compare)
def ud(message):
yn = yn + 1