mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(constants): add verificationLevels (#3369)
* add Util.parseVerification() * Made the code much cleaner. * Removed method and created constant. * Lint! * refactor(constants): capitalize VerficiationLevels and add a typedef * Changed VerificationLevels typedef to singular. Co-Authored-By: Will Nelson <will@wnelson.xyz>
This commit is contained in:
@@ -467,6 +467,23 @@ exports.Colors = {
|
||||
NOT_QUITE_BLACK: 0x23272A,
|
||||
};
|
||||
|
||||
/**
|
||||
* The value set for the verification levels for a guild:
|
||||
* * None
|
||||
* * Low
|
||||
* * Medium
|
||||
* * (╯°□°)╯︵ ┻━┻
|
||||
* * ┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻
|
||||
* @typedef {string} VerificationLevel
|
||||
*/
|
||||
exports.VerificationLevels = [
|
||||
'None',
|
||||
'Low',
|
||||
'Medium',
|
||||
'(╯°□°)╯︵ ┻━┻',
|
||||
'┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻',
|
||||
];
|
||||
|
||||
/**
|
||||
* An error encountered while performing an API request. Here are the potential errors:
|
||||
* * UNKNOWN_ACCOUNT
|
||||
|
||||
Reference in New Issue
Block a user