mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
feat(GuildManager): Allow for more options for GuildManager.cre… (#3742)
* typings: add GuildVerificationLevel and GuildExplicitContentFilter * implement new types * fix jsdoc on stores * typo * add more options for GuildStore#create * add channels and roles * update typings * fix typings and use snake case for permissionOverwrites * typings & jsdoc * fix tslint * remove trailing whitespace * fix jsdoc * fix jsdoc * fix oopsies * fix lint * fix lint * fix mr lint man * add typedefs and support for setting channel parents * fix tab indenation * update jsdoc * suggested changes * style: fix silly format * docs(PartialChannelData): name is not optional * style: remove silly format
This commit is contained in:
@@ -56,7 +56,7 @@ class PermissionOverwrites {
|
||||
|
||||
/**
|
||||
* Updates this permissionOverwrites.
|
||||
* @param {PermissionOverwriteOption} options The options for the update
|
||||
* @param {PermissionOverwriteOptions} options The options for the update
|
||||
* @param {string} [reason] Reason for creating/editing this overwrite
|
||||
* @returns {Promise<PermissionOverwrites>}
|
||||
* @example
|
||||
@@ -99,7 +99,7 @@ class PermissionOverwrites {
|
||||
* 'ATTACH_FILES': false,
|
||||
* }
|
||||
* ```
|
||||
* @typedef {Object} PermissionOverwriteOption
|
||||
* @typedef {Object} PermissionOverwriteOptions
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -110,7 +110,7 @@ class PermissionOverwrites {
|
||||
|
||||
/**
|
||||
* Deletes this Permission Overwrite.
|
||||
* @param {PermissionOverwriteOption} options The options for the update
|
||||
* @param {PermissionOverwriteOptions} options The options for the update
|
||||
* @param {Object} initialPermissions The initial permissions
|
||||
* @param {PermissionResolvable} initialPermissions.allow Initial allowed permissions
|
||||
* @param {PermissionResolvable} initialPermissions.deny Initial denied permissions
|
||||
|
||||
Reference in New Issue
Block a user