mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Preparing Channel class for overwrite capability
This commit is contained in:
@@ -7,8 +7,17 @@ class Channel {
|
||||
this.topic = data.topic;
|
||||
this.id = data.id;
|
||||
this.messages = [];
|
||||
this.roles = [];
|
||||
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
||||
}
|
||||
|
||||
get permissionOverwrites(){
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
get permissions(){
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
get client() {
|
||||
return this.server.client;
|
||||
|
||||
Reference in New Issue
Block a user