console.log(`${bot.user.username} online`);
const obj = {
first: 123,
second: 154,
third: 654,
fourth: 993
};
// Например так, с помощью удаления ненужных свойств
delete obj.first;
delete obj.fourth;
// Или так, используя оператор rest
const {first, fourth, ...customObj} = obj;
// или так (с помощью библиотеки lodash)
const customObj = _.pick(obj, ['second', 'third'])
npm install npm -g