imubot
Version:
A simple helpful bot.
25 lines (19 loc) • 416 B
JavaScript
// Generated by CoffeeScript 1.12.6
(function() {
var User;
User = (function() {
function User(id, options) {
var k;
this.id = id;
if (options == null) {
options = {};
}
for (k in options || {}) {
this[k] = options[k];
}
this['name'] || (this['name'] = this.id.toString());
}
return User;
})();
module.exports = User;
}).call(this);