Added overwrite shortcut

This commit is contained in:
hydrabolt
2015-11-05 20:02:34 +00:00
parent 5dfe7cbf79
commit 73e0c1683b
6 changed files with 252 additions and 17 deletions

View File

@@ -14,6 +14,22 @@ class Client extends EventEmitter {
this.internal = new InternalClient(this);
}
get users(){
return this.internal.users;
}
get channels(){
return this.internal.channels;
}
get servers(){
return this.internal.servers;
}
get privateChannels(){
return this.internal.private_channels;
}
// def login
login(email, password, cb = function (err, token) { }) {
var self = this;