mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Added new functions
setStatusIdle() - aliases setStatusAway setStatusOnline() - aliases setStatusActive and setStatusHere setPlayingGame() - uses GameID resolvable
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user