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:
Sugden
2020-02-29 06:43:42 +00:00
committed by GitHub
parent 3d0c1df19d
commit 2ee0f1cdc6
6 changed files with 202 additions and 61 deletions

View File

@@ -493,21 +493,34 @@ exports.Colors = {
NOT_QUITE_BLACK: 0x23272A,
};
/**
* The value set for the explicit content filter levels for a guild:
* * DISABLED
* * MEMBERS_WITHOUT_ROLES
* * ALL_MEMBERS
* @typedef {string} ExplicitContentFilterLevel
*/
exports.ExplicitContentFilterLevels = [
'DISABLED',
'MEMBERS_WITHOUT_ROLES',
'ALL_MEMBERS',
];
/**
* The value set for the verification levels for a guild:
* * None
* * Low
* * Medium
* * (╯°□°)╯︵ ┻━┻
* * ┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻
* * NONE
* * LOW
* * MEDIUM
* * HIGH
* * VERY_HIGH
* @typedef {string} VerificationLevel
*/
exports.VerificationLevels = [
'None',
'Low',
'Medium',
'(╯°□°)╯︵ ┻━┻',
'┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻',
'NONE',
'LOW',
'MEDIUM',
'HIGH',
'VERY_HIGH',
];
/**