mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00: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:
parent
b0047c424b
commit
37ecf7b826
1 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue