This Discord bot verifies student and staff Discord accounts by sending them an email.
Copy .env.example
to .env
and fill in all of the fields.
Run with Docker Compose
docker-compose up
-
View messages
-
Send messages
-
Manage roles
-
The bot's role must be higher in the role hierarchy than the verify role
- Server Members Intent
- Message Content Intent
- Create a new file in
src/discord/commands/
(you can copy one of the existing commands as a template). - Populate the required fields, such as the commands name, description and logic.
- If you want your command to be used by non administrators, set the
public
option to true on the command body - Add the command to the list in
src/discord/deploy-commands.ts
- Add the command to the list in
src/discord/index.ts
- Deploy the commands with
yarn deploy-commands