From 37ecf7b826db002875ff578e31bc9ac001b14882 Mon Sep 17 00:00:00 2001 From: newt Date: Tue, 10 Sep 2019 15:12:27 +0100 Subject: [PATCH] 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 --- src/util/Constants.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/util/Constants.js b/src/util/Constants.js index 89b14c6a0..ab891eb80 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -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