def confirm1(message): base.drop_table() base.create_table() #const.counter = 0 const.welcome_msg = message.text bot.send_message(message.chat.id, "Выберите текст", reply_markup=markups.edit_texts())
def confirm2(message): base.drop_table() base.create_table() #const.counter = 0 const.reply_msg = message.text bot.send_message(message.chat.id, "Текст успешно изменен!", reply_markup=markups.edit_texts())
def admin(message): if (message.chat.id == const.admin_id): bot.send_message(message.chat.id, "Выберите текст", reply_markup=markups.edit_texts())