const defaultCommand = require('./default-command'); const commands = { }; // eslint-disable-next-line no-restricted-syntax for (const [key, value] of Object.entries(defaultCommand)) { value.forEach((element) => { commands[element.toLowerCase()] = key.toLowerCase(); }); } module.exports = commands;