Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add !link command #2

Open
marcdif opened this issue Nov 3, 2020 · 0 comments
Open

Add !link command #2

marcdif opened this issue Nov 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@marcdif
Copy link
Member

marcdif commented Nov 3, 2020

This command is the last step in the process to link a Minecraft account to a Discord account. This command should take one parameter - a numeric code the user gets from running /discord link on the Minecraft server.

This command should call https://internal-api.palace.network/discord/verify (not complete) with the necessary parameters. Regardless of the outcome, the user's message with the command should be deleted (to keep the channel clean).

If the code is valid, the user should be given the standard roles (as well as the display role according to their Palace Minecraft rank). This role change will hide the #link-account channel and display the rest of the channels, so no confirmation message is necessary (although it would be nice if Discord had ephemeral messages like slack).

If the code is invalid, the bot should send the user a DM informing them that the code was invalid. "The link code you provided was incorrect. Learn how to link your Minecraft account to the Palace Discord by visiting https://palnet.us/Discord".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants