mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +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:
@@ -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',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user