Verification bot for UNSW Rubik Society's Discord server based on lo-fi society's bot, seba.
- Sends DM with verification instructions when prompted with
!verifyme
- Verifies members using a code emailed by this google script and updates their roles
Note that this bot does not send emails. This google script added to your verification form will send emails. RubikBot verifies using codes sent out by this script.
Download the source code from the latest release.
You can run this bot in Docker on a Linux server with the start
script.
$ ./start
Alternatively, you can manually install dependencies and run it. This bot requires Node.js to run.
$ npm install
$ npm start
Copy config-sample.json
to config.json
and set the following values:
prefix
is the string proceeding a bot commandtoken
is the Discord bot token. Get this from the Discord Developer Portalserver
has info regarding your server as follows:id
is the ID of your Discord servername
is the name of your society or Discord serverform
is a link to your verification form
channels
has the IDs of channels in your server:verify
is the ID of the channel for members to call!verifyme
in
roles
has the IDs of user roles in your server:verified
is the ID of the role to assign to members once they verifyexec
is the ID of the exec or admin role to use privileged bot commands
seed
is a secret value used to generate the verification code. Must be the same as the google script seed value