Added new functions

setStatusIdle() - aliases setStatusAway
setStatusOnline() - aliases setStatusActive and setStatusHere

setPlayingGame() - uses GameID resolvable
This commit is contained in:
hydrabolt
2015-11-21 14:55:15 +00:00
parent ca6f8d6fc1
commit 65698cf525
33 changed files with 10222 additions and 212 deletions

View File

@@ -12,6 +12,10 @@ class Channel extends Equality{
this.id = data.id;
this.client = client;
}
get isPrivate() {
return !!this.server;
}
delete(){
return this.client.deleteChannel.apply(this.client, reg(this, arguments));