Fix some Gus stuff

This commit is contained in:
Schuyler Cebulskie
2016-12-14 12:37:23 -05:00
parent 8139bef4e2
commit 4e76251aa2
2 changed files with 4 additions and 6 deletions

View File

@@ -5,12 +5,11 @@ class PermissionOverwrites {
constructor(guildChannel, data) {
/**
* The GuildChannel this overwrite is for
* @name PermissionOverwrites#channel
* @type {GuildChannel}
* @readonly
*/
Object.defineProperty(this, 'channel', {
value: guildChannel,
enumerable: false,
});
Object.defineProperty(this, 'channel', { value: guildChannel });
if (data) this.setup(data);
}