mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 13:10:42 +00:00
Webpack build: f1c4ef659e
This commit is contained in:
parent
3843103a67
commit
5a38db6055
2 changed files with 6 additions and 8 deletions
|
|
@ -6030,8 +6030,7 @@ class Guild {
|
||||||
* Creates a new channel in the guild.
|
* Creates a new channel in the guild.
|
||||||
* @param {string} name The name of the new channel
|
* @param {string} name The name of the new channel
|
||||||
* @param {string} type The type of the new channel, either `text` or `voice`
|
* @param {string} type The type of the new channel, either `text` or `voice`
|
||||||
* @param {Array.<PermissionsOverwrites|Object>} overwrites
|
* @param {Array<PermissionOverwrites|Object>} overwrites Permission overwrites to apply to the new channel
|
||||||
* Permissions overwrites to apply to the new channel
|
|
||||||
* @returns {Promise<TextChannel|VoiceChannel>}
|
* @returns {Promise<TextChannel|VoiceChannel>}
|
||||||
* @example
|
* @example
|
||||||
* // create a new text channel
|
* // create a new text channel
|
||||||
|
|
@ -9967,12 +9966,11 @@ class PermissionOverwrites {
|
||||||
constructor(guildChannel, data) {
|
constructor(guildChannel, data) {
|
||||||
/**
|
/**
|
||||||
* The GuildChannel this overwrite is for
|
* The GuildChannel this overwrite is for
|
||||||
|
* @name PermissionOverwrites#channel
|
||||||
* @type {GuildChannel}
|
* @type {GuildChannel}
|
||||||
|
* @readonly
|
||||||
*/
|
*/
|
||||||
Object.defineProperty(this, 'channel', {
|
Object.defineProperty(this, 'channel', { value: guildChannel });
|
||||||
value: guildChannel,
|
|
||||||
enumerable: false,
|
|
||||||
});
|
|
||||||
|
|
||||||
if (data) this.setup(data);
|
if (data) this.setup(data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
discord.indev.min.js
vendored
4
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue