Email verification code (#1382)

* Base verification code implementation, must define command, manager, events
* VerificationManager, verification command and messages, handled some sensible commands, configuration values
* Improved manager and sensible commands trigger
* Updated messages
* Updated verification code manager, fixed tests
* Switched to a permission based command
* Verification manager and command improved and added tests
* Edited messages
This commit is contained in:
HexelDev
2017-10-28 12:23:14 +02:00
committed by ljacqu
parent 8422581a82
commit ba65633182
58 changed files with 1227 additions and 67 deletions
@@ -95,6 +95,15 @@ usage_captcha: '&3Sisselogimiseks pead lahendama captcha. Tee seda kasutades kä
wrong_captcha: '&cVale captcha, kirjuta "/captcha THE_CAPTCHA" chatti!'
valid_captcha: '&2Captcha lahendatud!'
# Verification code
# TODO verification_code_required: '&3This command is sensitive and requires an email verification! Check your inbox and follow the email''s instructions.'
# TODO usage_verification_code: '&cUsage: /verification <code>'
# TODO incorrect_verification_code: '&cIncorrect code, please type "/verification <code>" into the chat, using the code you received by email'
# TODO verification_code_verified: '&2Your identity has been verified! You can now execute all commands within the current session!'
# TODO verification_code_already_verified: '&2You can already execute every sensitive command within the current session!'
# TODO verification_code_expired: '&3Your code has expired! Execute an other sensitive command to get a new code!'
# TODO verification_code_email_needed: '&3To verify your identity you need to link an email address with your account!!'
# Time units
second: 'sekund'
seconds: 'sekundit'