axios.get(`https://api.mojang.com/user/profiles/5dcafb2fbd764a858b253c22079ce358/names`)
[{"name":"jolinedecoste"},{"name":"MrZillaGold","changedToAt":1531733381000}]
axios.get(`https://api.mojang.com/user/profiles/5dcafb2fbd764a858b253c22079ce358/names`)
.then((data) => {
let message = '';
for (let i = 0, l = data.length; i < l; ++i) {
message += 'name: ' + data[i].name + ', changedToAt: ' + data[i].changedToAt + '\n';
}
send(message);
});