diff --git a/src/robot.coffee b/src/robot.coffee index e01dcf4..7ed3065 100644 --- a/src/robot.coffee +++ b/src/robot.coffee @@ -16,7 +16,7 @@ module.exports = class Robot opts ?= {} @_connections = {} @_devices = {} - @name = opts.name or @constructor.randomName() + @name = opts.name or @constructor.randomName() @connections = initConnections(opts.connection or opts.connections or {}) @devices = initDevices(opts.device or opts.devices or {}) @work = opts.work or -> (console.log "No work yet")