master
/** * @description Init room. * @example * room.init(); */ async function init() { const rooms = await this.getAll(); rooms.forEach((room) => { this.brain.addNamedEntity('room', room.id, room.name); }); } module.exports = { init, };