mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Added overwrite shortcut
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user