mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Fix some Gus stuff
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user