def start(message): chat_id = message.chat.id base = SQLighter(config.database_name) if not base.check_player(chat_id): base.insert_player(chat_id) text = u"Привет! Я учебный игровой бот. Давай сыграем в крестики-нолики?\nДля начала игры введи /play.\nДля просмотра команд введи /help." bot.send_message(chat_id, text)