Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Require Users to Pass a Test Before Allowing Them to Ask Questions #22

Open
andrewlalis opened this issue Nov 20, 2021 · 1 comment
Open

Comments

@andrewlalis
Copy link
Contributor

We should prevent users from using the help system unless they have passed a test indicating that they have read and understood the help guidelines and some basics of how to ask good questions.

Dan suggested that such a test should include the following:

  • Formatting code (using triple backticks and syntax highlighting).
  • Knowing how to use the help system.
  • Knowing that Javascript is different from Java.

I suggest that we implement such a test in the following way:

  1. A user sends a message in an available help channel. While reserving, we check if the user is not yet approved to ask questions. Continue to next step if not yet approved.
  2. The bot reserves the channel anyways, and replies to the user with a question. The user must answer the question correctly to continue (clicking an interaction button, sending a valid message in the channel, etc.).
  3. If the user answers all questions correctly, the channel is then kept reserved and the user's question can be asked. Otherwise, the bot tells the user to read the help guidelines and try again, and then unreserves the channel.
@jasonlessenich
Copy link
Member

Or we just wait until discord releases text interactions
https://devsnek.notion.site/devsnek/Modal-aka-Form-Interactions-e839b3dd8c214eb08f950764a8328e36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants