diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 3c4e1377a..4ca84f972 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -968,10 +968,12 @@ class Guild { } /** - * Can be used to overwrite permissions when creating a channel. + * Can be used to overwrite permissions when creating a channel or replacing overwrites. * @typedef {Object} ChannelCreationOverwrites - * @property {PermissionResolvable|number} [allow] The permissions to allow - * @property {PermissionResolvable|number} [deny] The permissions to deny + * @property {PermissionResolvable} [allow] The permissions to allow + * @property {PermissionResolvable} [allowed] The permissions to allow + * @property {PermissionResolvable} [deny] The permissions to deny + * @property {PermissionResolvable} [denied] The permissions to deny * @property {RoleResolvable|UserResolvable} id ID of the role or member this overwrite is for */ diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 0a7901f3a..f0d571292 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -143,7 +143,7 @@ class GuildChannel extends Channel { /** * Replaces the permission overwrites for a channel * @param {Object} [options] Options - * @param {Array} [options.overwrites] Permission overwrites + * @param {Array} [options.overwrites] Permission overwrites * @param {string} [options.reason] Reason for updating the channel overwrites * @returns {Promise} * @example