Closed dericksonmark closed 2 years ago
I think this is as complete as I'm going to get it, so I am marking this pull request as ready for review.
Looks like the team is in favor of adding this according to https://discord.com/channels/647810384031645728/647810521713606656/850795026674089985
I've decided to close this for now. When creating this, I made many choices that are inefficient for the bot, like storing verifications in a Discord channel. After the jira.js and discord.js pull requests are merged, I plan to remake this in a more efficient way. :)
Purpose
Add a verification system! Implements #98.
Approach
To verify their account, a member will need to:
!jira verify
(MojiraBot will send them a 15 character token)link <jira username>
The bot will check the ticket for their comment, and if the username and code matches, the accounts will be linked.
This also adds:
!jira who
or!jira whois
to check the account linked to either a Mojira or a Discord account.Future work