Commands, that authenticates users before letting them access the server.
Two command should be made:
/setup-authentication - sets up authentication for the current server.
/disable-authentication - disables authentication for the current server.
/verify - only the new, unverified users should be able to use this command.
The /setup-authentication command should have a role option, that the bot will give out on a successful verification.
An event listener should be made that DMs (or sends the message directly to the specified server's verification channel) the new users with a verification code.
The user just has to use the /verify command with the correct verification code they've got, and the bot should give them the specified role, if the verification is successful. If it isn't successful, the bot should give out a new code.
After a minute, the verification code should expire.
If autorole is already enabled for the server, the bot should notify the administrator when it tries to set up verification. Vice versa.
Commands, that authenticates users before letting them access the server.
Two command should be made:
/setup-authentication- sets up authentication for the current server./disable-authentication- disables authentication for the current server./verify- only the new, unverified users should be able to use this command.The
/setup-authenticationcommand should have a role option, that the bot will give out on a successful verification.An event listener should be made that DMs (or sends the message directly to the specified server's verification channel) the new users with a verification code.
The user just has to use the
/verifycommand with the correct verification code they've got, and the bot should give them the specified role, if the verification is successful. If it isn't successful, the bot should give out a new code.After a minute, the verification code should expire.
If autorole is already enabled for the server, the bot should notify the administrator when it tries to set up verification. Vice versa.